AnimationOptions¶
Interface AnimationOptions
interface AnimationOptions {
delay?: number;
duration?: number;
iterationCount?: number;
playbackRate?: number;
playState?: AnimationPlayState;
time?: number;
timingFunction?: AnimationTimingFunction;
}
delay?: number;
duration?: number;
iterationCount?: number;
playbackRate?: number;
playState?: AnimationPlayState;
time?: number;
timingFunction?: AnimationTimingFunction;
}
Optionaldelay
delay?: number
The initial delay of the animation sequence.
Optionalduration
duration?: number
The total duration of the animation sequence in milliseconds.
Optionaliteration
iterationCount?: number
The number of iterations of the animation sequence.
Optionalplayback
playbackRate?: number
The playback rate of the animation sequence.
Optionalplay
The play state of the animation sequence.
Optionaltime
time?: number
The current time of the animation sequence between 0 and the total duration.
Optionaltiming
The timing function used for the interpolation.
The AnimationOptions provide additional options of a whole animation sequence.
See
AnimationAPI