2017-01-24 15:09:23 +00:00
|
|
|
package animation
|
|
|
|
|
2017-07-09 02:05:19 +00:00
|
|
|
// Code generated by chromedp-gen. DO NOT EDIT.
|
2017-01-24 15:09:23 +00:00
|
|
|
|
|
|
|
import (
|
2017-01-26 07:28:34 +00:00
|
|
|
cdp "github.com/knq/chromedp/cdp"
|
2017-01-24 15:09:23 +00:00
|
|
|
)
|
|
|
|
|
2017-12-18 00:23:14 +00:00
|
|
|
// EventAnimationCanceled event for when an animation has been cancelled.
|
|
|
|
type EventAnimationCanceled struct {
|
|
|
|
ID string `json:"id"` // Id of the animation that was cancelled.
|
|
|
|
}
|
|
|
|
|
2017-01-24 15:09:23 +00:00
|
|
|
// EventAnimationCreated event for each animation that has been created.
|
|
|
|
type EventAnimationCreated struct {
|
2017-07-02 11:44:34 +00:00
|
|
|
ID string `json:"id"` // Id of the animation that was created.
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// EventAnimationStarted event for animation that has been started.
|
|
|
|
type EventAnimationStarted struct {
|
2017-07-02 11:44:34 +00:00
|
|
|
Animation *Animation `json:"animation"` // Animation that was started.
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventTypes all event types in the domain.
|
|
|
|
var EventTypes = []cdp.MethodType{
|
2017-12-18 00:23:14 +00:00
|
|
|
cdp.EventAnimationAnimationCanceled,
|
2017-01-26 07:28:34 +00:00
|
|
|
cdp.EventAnimationAnimationCreated,
|
|
|
|
cdp.EventAnimationAnimationStarted,
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|