chromedp/cdp/animation/events.go
2017-12-18 07:23:14 +07:00

30 lines
844 B
Go

package animation
// Code generated by chromedp-gen. DO NOT EDIT.
import (
cdp "github.com/knq/chromedp/cdp"
)
// EventAnimationCanceled event for when an animation has been cancelled.
type EventAnimationCanceled struct {
ID string `json:"id"` // Id of the animation that was cancelled.
}
// EventAnimationCreated event for each animation that has been created.
type EventAnimationCreated struct {
ID string `json:"id"` // Id of the animation that was created.
}
// EventAnimationStarted event for animation that has been started.
type EventAnimationStarted struct {
Animation *Animation `json:"animation"` // Animation that was started.
}
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventAnimationAnimationCanceled,
cdp.EventAnimationAnimationCreated,
cdp.EventAnimationAnimationStarted,
}