Interface: AnimatedProperty
Defined in: animations/components/animation-component.ts:7
Represents the properties of an animated object.
Properties
duration
duration:
number
Defined in: animations/components/animation-component.ts:26
The duration of the animation in milliseconds.
easing()?
optionaleasing: (t) =>number
Defined in: animations/components/animation-component.ts:36
The easing function to use for the animation.
Parameters
t
number
Returns
number
elapsed?
optionalelapsed:number
Defined in: animations/components/animation-component.ts:21
The elapsed time of the animation.
endValue?
optionalendValue:number
Defined in: animations/components/animation-component.ts:16
The ending value of the animation.
finishedCallback()?
optionalfinishedCallback: () =>void
Defined in: animations/components/animation-component.ts:51
The callback function to call when the animation is finished.
Returns
void
loop?
optionalloop:LoopMode
Defined in: animations/components/animation-component.ts:41
The loop mode of the animation.
loopCount?
optionalloopCount:number
Defined in: animations/components/animation-component.ts:46
The number of times the animation should loop. -1 means that it will loop indefinitely.
startValue?
optionalstartValue:number
Defined in: animations/components/animation-component.ts:11
The starting value of the animation.
updateCallback()
updateCallback: (
value) =>void
Defined in: animations/components/animation-component.ts:31
The callback function to update the animated value.
Parameters
value
number
Returns
void