AnimationPlaybackEvent
The AnimationPlaybackEvent interface of the Web Animations API represents animation events.
As animations play, they report changes to their playState through animation events.
Constructor
AnimationPlaybackEvent()-
Constructs a new
AnimationPlaybackEventobject instance.
Instance properties
AnimationPlaybackEvent.currentTimeRead only-
The current time of the animation that generated the event.
AnimationPlaybackEvent.timelineTimeRead only-
The time value of the timeline of the animation that generated the event.
Specifications
| Specification |
|---|
| Web Animations # the-animationplaybackevent-interface |
Browser compatibility
BCD tables only load in the browser