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