AnimationOptions#
Type alias AnimationOptions
Animation Options: {
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?: number The number of iterations of the animation sequence.
Default
1
-
Optional
playState?: AnimationPlayState The play state of the animation sequence.
Default
"initial"
-
Optional
playbackRate?: number The 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?: AnimationTimingFunction The timing function used for the interpolation.
Default
"linear"
The AnimationOptions provide additional options of a whole animation sequence.