Skip to content

Documentation / @debuffjp/juice / TweenOptions

Interface: TweenOptions ​

Defined in: tween.ts:5

Properties ​

delay? ​

optional delay?: number

Defined in: tween.ts:8


duration ​

duration: number

Defined in: tween.ts:6


ease? ​

optional ease?: Easing | "linear" | "inQuad" | "outQuad" | "inOutQuad" | "inCubic" | "outCubic" | "inOutCubic" | "outBack" | "outElastic" | "outBounce"

Defined in: tween.ts:7


onComplete? ​

optional onComplete?: () => void

Defined in: tween.ts:13

Returns ​

void


repeat? ​

optional repeat?: number

Defined in: tween.ts:12

Extra repetitions; -1 repeats forever.


yoyo? ​

optional yoyo?: boolean

Defined in: tween.ts:10

Play forward then back.