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:
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:
currentTime
Read only
Returns the time value in milliseconds for this timeline or null
if this timeline is inactive.
Specification |
---|
Web Animations # the-animationtimeline-interface |
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 |
© 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