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