Interface: UntypeWithCursorOptions
Defined in: src/animation/creation/TypeWithCursor.ts:237
Options for UntypeWithCursor animation
Extends
Properties
cursorBlinkRate?
optionalcursorBlinkRate:number
Defined in: src/animation/creation/TypeWithCursor.ts:241
Cursor blink rate in blinks per second. Default: 2
cursorBlinks?
optionalcursorBlinks:boolean
Defined in: src/animation/creation/TypeWithCursor.ts:245
Whether to show cursor blinking during deletion. Default: true
cursorChar?
optionalcursorChar:string
Defined in: src/animation/creation/TypeWithCursor.ts:239
Cursor character to display. Default: '|'
deletingSpeed?
optionaldeletingSpeed:number
Defined in: src/animation/creation/TypeWithCursor.ts:243
Characters deleted per second. Default: 15 (faster than typing)
duration?
optionalduration:number
Defined in: src/animation/Animation.ts:16
Duration of the animation in seconds (default: 1)
Inherited from
hideCursorOnComplete?
optionalhideCursorOnComplete:boolean
Defined in: src/animation/creation/TypeWithCursor.ts:247
Whether to hide cursor after deletion completes. Default: true
highlightColor?
optionalhighlightColor:string
Defined in: src/animation/creation/TypeWithCursor.ts:249
Highlight color for text being deleted. Default: undefined (no highlight)
rateFunc?
optionalrateFunc:RateFunction
Defined in: src/animation/Animation.ts:18
Rate function controlling the animation's pacing (default: smooth)
Inherited from
shift?
optionalshift: [number,number,number]
Defined in: src/animation/Animation.ts:20
Shift direction for fade animations