AnimationPlaybackEvent
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2020.
The AnimationPlaybackEvent interface of theWeb Animations API represents animation events.
As animations play, they report changes to theirplayState through animation events.
In this article
Constructor
AnimationPlaybackEvent()Constructs a new
AnimationPlaybackEventobject instance.
Instance properties
AnimationPlaybackEvent.currentTimeRead onlyThe current time of the animation that generated the event.
AnimationPlaybackEvent.timelineTimeRead onlyThe time value of the timeline of the animation that generated the event.
Specifications
| Specification |
|---|
| Web Animations> # the-animationplaybackevent-interface> |