Skip to content

artboard-deluxe / AnimationOptions

AnimationOptions

AnimationOptions = object

Defined in: helpers/animation/index.ts:31

Properties

duration?

optional duration: number

Defined in: helpers/animation/index.ts:41

The speed of the animation.


easing?

optional easing: AnimationEasing

Defined in: helpers/animation/index.ts:38

The easing function to use when animating.

Can either be the name of one of the built in easing functions or a custom function. If a custom function is provided, it will receive the current progress (a value from 0 to 1) as the only argument and should return the eased progress.