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
-
Optionaldelay?: numberThe initial delay of the animation sequence.
Default
0 -
Optionalduration?: numberThe total duration of the animation sequence in milliseconds.
Default
1000 -
OptionaliterationCount?: number The number of iterations of the animation sequence.
Default
1 -
OptionalplayState?: AnimationPlayState The play state of the animation sequence.
Default
"initial" -
OptionalplaybackRate?: number The playback rate of the animation sequence.
Default
1 -
Optionaltime?: numberThe current time of the animation sequence between 0 and the total duration.
Default
0 -
OptionaltimingFunction?: AnimationTimingFunction The timing function used for the interpolation.
Default
"linear"
The AnimationOptions provide additional options of a whole animation sequence.