AnimationEffect
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 KeyframeEffect
(which is used by CSS Animations and Transitions).
Instance methods
AnimationEffect.getTiming()
-
Returns the 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 |
---|
Web Animations # the-animationeffect-interface |
Browser compatibility
BCD tables only load in the browser