Skip to main content

Variable: animationDefaults

const animationDefaults: object

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

Type declaration

easing()

easing: (t) => number = linear

Easing function for "linear".

This function creates a linear easing effect, where the rate of change is constant.

Parameters

t

number

The input value (typically between 0 and 1).

Returns

number

The eased value, which is the same as the input value.

elapsed

elapsed: number = 0

endValue

endValue: number = 1

finishedCallback()

finishedCallback: () => void

Returns

void

loop

loop: LoopMode

loopCount

loopCount: number = -1

startValue

startValue: number = 0