Interface: AnimatedProperty
Defined in: animations/components/animation-component.ts:8
Represents the properties of an animated object.
Properties
duration
duration:
number
Defined in: animations/components/animation-component.ts:27
The duration of the animation in milliseconds.
easing?
optionaleasing?: (t) =>number
Defined in: animations/components/animation-component.ts:37
The easing function to use for the animation.
Parameters
t
number
Returns
number
elapsed?
optionalelapsed?:number
Defined in: animations/components/animation-component.ts:22
The elapsed time of the animation.
endValue?
optionalendValue?:number
Defined in: animations/components/animation-component.ts:17
The ending value of the animation.
finishedCallback?
optionalfinishedCallback?: () =>void
Defined in: animations/components/animation-component.ts:52
The callback function to call when the animation is finished.
Returns
void
loop?
optionalloop?:LoopMode
Defined in: animations/components/animation-component.ts:42
The loop mode of the animation.
loopCount?
optionalloopCount?:number
Defined in: animations/components/animation-component.ts:47
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:12
The starting value of the animation.
updateCallback
updateCallback: (
value) =>void
Defined in: animations/components/animation-component.ts:32
The callback function to update the animated value.
Parameters
value
number
Returns
void