Interface: TypeWithCursorOptions
Defined in: animation/creation/TypeWithCursor.ts:68
Options for TypeWithCursor animation
Extends
Properties
cursorBlinkRate?
optionalcursorBlinkRate:number
Defined in: animation/creation/TypeWithCursor.ts:72
Cursor blink rate in blinks per second. Default: 2
cursorBlinks?
optionalcursorBlinks:boolean
Defined in: animation/creation/TypeWithCursor.ts:76
Whether to show cursor blinking during typing. Default: true
cursorChar?
optionalcursorChar:string
Defined in: animation/creation/TypeWithCursor.ts:70
Cursor character to display. Default: '|'
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:78
Whether to hide cursor after typing completes. Default: false
highlightColor?
optionalhighlightColor:string
Defined in: animation/creation/TypeWithCursor.ts:80
Highlight color for typed text. 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
Inherited from
typingSpeed?
optionaltypingSpeed:number
Defined in: animation/creation/TypeWithCursor.ts:74
Characters typed per second. Default: 10