W3cubDocs

/DOM

AnimationEffect

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).

Methods

AnimationEffect.getTiming()
Returns the EffectTiming object associated with the animation containing all the animation's timing values.
AnimationEffect.getComputedTiming()
Returns the calculated timing properties for this AnimationEffect.
AnimationEffect.updateTiming()
Updates the specified timing properties of this AnimationEffect.

Specifications

Specification Status Comment
Web Animations
The definition of 'AnimationEffect' in that specification.
Working Draft Editor's draft.

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support ? ? 63
63
48 — 63
Uses the non-standard name: AnimationEffectReadOnly
? ? ?
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
63
48 — 63
Uses the non-standard name: AnimationEffectReadOnly
? ? ?
getComputedTiming ? ? ? 63 ? ? ?
getTiming ? ? ? 63 ? ? ?
updateTiming ? ? ? 63 ? ? ?

See also

© 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