chromedp/cdp/animation/events.go

30 lines
857 B
Go
Raw Normal View History

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