events.go 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. package animation
  2. // Code generated by cdproto-gen. DO NOT EDIT.
  3. // EventAnimationCanceled event for when an animation has been cancelled.
  4. //
  5. // See: https://chromedevtools.github.io/devtools-protocol/tot/Animation#event-animationCanceled
  6. type EventAnimationCanceled struct {
  7. ID string `json:"id"` // Id of the animation that was cancelled.
  8. }
  9. // EventAnimationCreated event for each animation that has been created.
  10. //
  11. // See: https://chromedevtools.github.io/devtools-protocol/tot/Animation#event-animationCreated
  12. type EventAnimationCreated struct {
  13. ID string `json:"id"` // Id of the animation that was created.
  14. }
  15. // EventAnimationStarted event for animation that has been started.
  16. //
  17. // See: https://chromedevtools.github.io/devtools-protocol/tot/Animation#event-animationStarted
  18. type EventAnimationStarted struct {
  19. Animation *Animation `json:"animation"` // Animation that was started.
  20. }
  21. // EventAnimationUpdated event for animation that has been updated.
  22. //
  23. // See: https://chromedevtools.github.io/devtools-protocol/tot/Animation#event-animationUpdated
  24. type EventAnimationUpdated struct {
  25. Animation *Animation `json:"animation"` // Animation that was updated.
  26. }