animate
Call Signature
animate(
options
):ArrayAnimation
Defined in: src/util/animation/animate.ts:50
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
Call Signature
animate(
options
):ValueAnimation
Defined in: src/util/animation/animate.ts:51
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
ValueAnimation
Examples
Call Signature
animate<
T
>(options
):T
extendsArrayAnimationOptions
?ArrayAnimation
:ValueAnimation
Defined in: src/util/animation/animate.ts:52
Changes value(s) from startValue to endValue within a certain period of time, invoking callbacks as the value(s) change.
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