Skip to main content

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?​

optional easing?: (t) => number

Defined in: animations/components/animation-component.ts:37

The easing function to use for the animation.

Parameters​

t​

number

Returns​

number


elapsed?​

optional elapsed?: number

Defined in: animations/components/animation-component.ts:22

The elapsed time of the animation.


endValue?​

optional endValue?: number

Defined in: animations/components/animation-component.ts:17

The ending value of the animation.


finishedCallback?​

optional finishedCallback?: () => void

Defined in: animations/components/animation-component.ts:52

The callback function to call when the animation is finished.

Returns​

void


loop?​

optional loop?: LoopMode

Defined in: animations/components/animation-component.ts:42

The loop mode of the animation.


loopCount?​

optional loopCount?: 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?​

optional startValue?: 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