ClipConfig

Attributes

alternate?: boolean

Whether to switch between forwards and reverse on each subsequent repeat.

composite?: 'none' | 'override' | 'combine'

How to composite the animation over simultaneously playing animations.

'none', the animation will be delayed until the current one is finished.
'override', the animation will play simultaneously, however will possibly override properties that are already being animated.
'combine', the animation will play simultaneously and try to combine the values of properties already being animated.
default = 'none'

delay?: number

The animation delay in seconds.

duration?: number

The animation duration in seconds.
default = 1

easing?: Easing

The easing type to use for the animation.
default = 'ease'

repeat?: number

How many iterations of the animation should play.
default = 1

reverse?: boolean

Whether to play the animation in reverse.