AnimationOptions#
Type alias AnimationOptions
AnimationOptions : {
delay?: number;
duration?: number;
iterationCount?: number;
playState?: AnimationPlayState;
playbackRate?: number;
time?: number;
timingFunction?: AnimationTimingFunction;
}
delay?: number;
duration?: number;
iterationCount?: number;
playState?: AnimationPlayState;
playbackRate?: number;
time?: number;
timingFunction?: AnimationTimingFunction;
}
Type declaration
-
Optional
delay?: numberThe initial delay of the animation sequence.
Default
0
-
Optional
duration?: numberThe total duration of the animation sequence in milliseconds.
Default
1000
-
Optional
iterationCount ?: numberThe number of iterations of the animation sequence.
Default
1
-
Optional
playState ?: AnimationPlayStateThe play state of the animation sequence.
Default
"initial"
-
Optional
playbackRate ?: numberThe playback rate of the animation sequence.
Default
1
-
Optional
time?: numberThe current time of the animation sequence between 0 and the total duration.
Default
0
-
Optional
timingFunction ?: AnimationTimingFunctionThe timing function used for the interpolation.
Default
"linear"
The AnimationOptions provide additional options of a whole animation sequence.