AnimationTimeline

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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.

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
63
No
70
13.1
No
84
79
63
60
13.4
14.0
currentTime
84
84
75
63
No
70
13.1
No
84
79
63
60
13.4
14.0

See also

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