AnimationPlaybackEvent.idl 531 B

123456789101112131415
  1. #import <DOM/Event.idl>
  2. // https://www.w3.org/TR/web-animations-1/#animationplaybackevent
  3. [Exposed=Window]
  4. interface AnimationPlaybackEvent : Event {
  5. constructor(DOMString type, optional AnimationPlaybackEventInit eventInitDict = {});
  6. readonly attribute double? currentTime;
  7. readonly attribute double? timelineTime;
  8. };
  9. // https://www.w3.org/TR/web-animations-1/#dictdef-animationplaybackeventinit
  10. dictionary AnimationPlaybackEventInit : EventInit {
  11. double? currentTime = null;
  12. double? timelineTime = null;
  13. };