Skip to main content

Interface: UntypeWithCursorOptions

Defined in: src/animation/creation/TypeWithCursor.ts:240

Options for UntypeWithCursor animation

Extends​

Properties​

cursorBlinkRate?​

optional cursorBlinkRate: number

Defined in: src/animation/creation/TypeWithCursor.ts:244

Cursor blink rate in blinks per second. Default: 2


optional cursorBlinks: boolean

Defined in: src/animation/creation/TypeWithCursor.ts:248

Whether to show cursor blinking during deletion. Default: true


cursorChar?​

optional cursorChar: string

Defined in: src/animation/creation/TypeWithCursor.ts:242

Cursor character to display. Default: '|'


deletingSpeed?​

optional deletingSpeed: number

Defined in: src/animation/creation/TypeWithCursor.ts:246

Characters deleted per second. Default: 15 (faster than typing)


duration?​

optional duration: number

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

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


hideCursorOnComplete?​

optional hideCursorOnComplete: boolean

Defined in: src/animation/creation/TypeWithCursor.ts:250

Whether to hide cursor after deletion completes. Default: true


highlightColor?​

optional highlightColor: string

Defined in: src/animation/creation/TypeWithCursor.ts:252

Highlight color for text being deleted. Default: undefined (no highlight)


rateFunc?​

optional rateFunc: RateFunction

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

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

Inherited from​

AnimationOptions.rateFunc


shift?​

optional shift: [number, number, number]

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

Shift direction for fade animations

Inherited from​

AnimationOptions.shift