W3cubDocs

/Web APIs

AnimationTimeline

The AnimationTimeline interface of the Web Animations API represents the timeline of an animation. This interface exists to define timeline features, inherited by other timeline types:

Instance properties

currentTime Read only

Returns the time value in milliseconds for this timeline or null if this timeline is inactive.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
AnimationTimeline 84 84 75 No 70 13.1 84 84 79 60 13.4 14.0
currentTime 84 84 75 No 70 13.1 84 84 79 60 13.4 14.0
duration 115 115 No No 101 No 115 115 No No No No

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/AnimationTimeline