The Animation
interface of the Web Animations API represents a single animation player and provides playback controls and a timeline for an animation node or source.
Documentation Animation by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Constructor
Variables
The current time value of the animation in milliseconds, whether running or paused. If the animation lacks a AnimationTimeline
, is inactive or hasn't been played yet, its value is null
.
read onlyeffect:AnimationEffectReadOnly
Gets and sets the AnimationEffectReadOnly
associated with this animation. This will usually be a KeyframeEffect
object.
read onlyplayState:AnimationPlayState
Returns an enumerated value describing the playback state of an animation.
read onlytimeline:AnimationTimeline
Gets or sets the AnimationTimeline
associated with this animation.