animate
animate(options)
animate(
options
):ArrayAnimation
Changes value(s) from startValue to endValue within a certain period of time, invoking callbacks as the value(s) change.
Parameters
• options: Partial
<TAnimationBaseOptions
<number
[]> & TAnimationCallbacks
<number
[]> & object
>
Returns
ArrayAnimation
Examples
Defined in
src/util/animation/animate.ts:50
animate(options)
animate(
options
):ValueAnimation
Parameters
• options: Partial
<TAnimationBaseOptions
<number
> & TAnimationCallbacks
<number
> & object
>
Returns
ValueAnimation
Defined in
src/util/animation/animate.ts:51
animate(options)
animate<
T
>(options
):T
extendsArrayAnimationOptions
?ArrayAnimation
:ValueAnimation
Type Parameters
• T extends Partial
<TAnimationBaseOptions
<number
> & TAnimationCallbacks
<number
> & object
> | Partial
<TAnimationBaseOptions
<number
[]> & TAnimationCallbacks
<number
[]> & object
>
Parameters
• options: T
Returns
T
extends ArrayAnimationOptions
? ArrayAnimation
: ValueAnimation