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 DocumentTimeline and future timeline types) and is not itself directly used by developers. Anywhere you see AnimationTimeline, you should use DocumentTimeline or any other timeline type instead.

Instance properties

AnimationTimeline.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

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