This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The AnimationEffect
interface of the Web Animations API defines current and future animation effects like KeyframeEffect
, which can be passed to Animation
objects for playing, and KeyframeEffectReadOnly
(which is used by CSS Animations and Transitions).
AnimationEffect.getTiming()
EffectTiming
object associated with the animation containing all the animation's timing values.AnimationEffect.getComputedTiming()
AnimationEffect
.AnimationEffect.updateTiming()
AnimationEffect
.Specification | Status | Comment |
---|---|---|
Web Animations The definition of 'AnimationEffect' in that specification. | Working Draft | Editor's draft. |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | ? | ? | 63
|
? | ? | ? |
getComputedTiming |
? | ? | 63 | ? | ? | ? |
getTiming |
? | ? | 63 | ? | ? | ? |
updateTiming |
? | ? | 63 | ? | ? | ? |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | ? | ? | ? | 63
|
? | ? | ? |
getComputedTiming |
? | ? | ? | 63 | ? | ? | ? |
getTiming |
? | ? | ? | 63 | ? | ? | ? |
updateTiming |
? | ? | ? | 63 | ? | ? | ? |
© 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/AnimationEffect