Skip to main content

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()?

optional easing: (t) => number

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

The easing function to use for the animation.

Parameters

t

number

Returns

number


elapsed?

optional elapsed: number

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

The elapsed time of the animation.


endValue?

optional endValue: number

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

The ending value of the animation.


finishedCallback()?

optional finishedCallback: () => void

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

The callback function to call when the animation is finished.

Returns

void


loop?

optional loop: LoopMode

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

The loop mode of the animation.


loopCount?

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

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