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.
AnimationTimeline.currentTime
Read only
null
if this timeline is inactive.Specification | Status | Comment |
---|---|---|
Web Animations The definition of 'AnimationTimeline' in that specification. | Working Draft | Editor's draft. |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | Yes | ? | 63
|
No | Yes | No |
currentTime
|
39 | ? | 63
|
No | 26 | No |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | Yes | Yes | ? | 63
|
Yes | No | Yes |
currentTime
|
61 | 61 | ? | 63
|
26 | No | No |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/AnimationTimeline