AnimationPlaybackEvent
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2020.
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
AnimationPlaybackEvent
object instance.
Instance properties
AnimationPlaybackEvent.currentTime
Read only-
The current time of the animation that generated the event.
AnimationPlaybackEvent.timelineTime
Read only-
The time value of the timeline of the animation that generated the event.
Specifications
Specification |
---|
Web Animations # the-animationplaybackevent-interface |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
AnimationPlaybackEvent | ||||||||||||
AnimationPlaybackEvent() constructor | ||||||||||||
currentTime | ||||||||||||
timelineTime |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.