Skip to main content

Interface: AddTextLetterByLetterOptions

Defined in: src/animation/creation/Create.ts:1012

Extends​

Properties​

duration?​

optional duration: number

Defined in: src/animation/Animation.ts:16

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


rateFunc?​

optional rateFunc: RateFunction

Defined in: src/animation/Animation.ts:18

Rate function controlling the animation's pacing (default: smooth)

Inherited from​

AnimationOptions.rateFunc


reverse?​

optional reverse: boolean

Defined in: src/animation/creation/Create.ts:1019

When true, animate in reverse: remove letters one by one instead of adding them. Used internally by RemoveTextLetterByLetter.


shift?​

optional shift: [number, number, number]

Defined in: src/animation/Animation.ts:20

Shift direction for fade animations

Inherited from​

AnimationOptions.shift


timePerChar?​

optional timePerChar: number

Defined in: src/animation/creation/Create.ts:1014

Time per character in seconds, default 0.1