AnimationOptions
Type interface
Animation options.
More info: Animations
Sources
AnimationOptions is an interface: it describes a shape of data and is not imported on its own.
Properties
durationType
numberDuration in milliseconds.
0sets the value at once.easingType
$ease.EasingEasing function. Linear if not set.
More info: Animations: easing functions
fromType
ValueValue to start from. The current value if not set.
keyType
KeyThe setting to animate.
loopsType
undefined|numberHow many times to play the animation;
Infinityplays it forever.Plays once if not set.
toType
ValueValue to animate to.