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
Specification | Status | Comment |
---|---|---|
Web Animations The definition of 'AnimationTimeline' in that specification. |
Working Draft | Editor's draft. |
Browser compatibility
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.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
AnimationTimeline | Chrome Full support Yes | Edge ? | Firefox
Full support
63
| IE No support No | Opera Full support Yes | Safari No support No | WebView Android Full support Yes | Chrome Android Full support Yes | Firefox Android
Full support
63
| Opera Android Full support Yes | Safari iOS No support No | Samsung Internet Android Full support Yes |
currentTime | Chrome Full support 39 | Edge ? | Firefox
Full support
63
| IE No support No | Opera Full support 26 | Safari No support No | WebView Android Full support 61 | Chrome Android Full support 61 | Firefox Android
Full support
63
| Opera Android Full support 26 | Safari iOS No support No | Samsung Internet Android No support No |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.
- User must explicitly enable this feature.
- User must explicitly enable this feature.