@vowel.to/client / index / FloatingCursorContextType
Interface: FloatingCursorContextType
Defined in: lib/vowel/components/FloatingCursorProvider.tsx:18
Floating cursor context state
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
cursorState | FloatingCursorUpdate | null | Current cursor position and state | lib/vowel/components/FloatingCursorProvider.tsx:20 |
isEnabled | boolean | Whether cursor is enabled | lib/vowel/components/FloatingCursorProvider.tsx:23 |
config | FloatingCursorConfig | Cursor configuration | lib/vowel/components/FloatingCursorProvider.tsx:26 |
updateCursor | (update) => void | Update cursor position and text | lib/vowel/components/FloatingCursorProvider.tsx:29 |
showResting | (text?) => void | Show cursor in resting position | lib/vowel/components/FloatingCursorProvider.tsx:32 |
hide | () => void | Hide cursor | lib/vowel/components/FloatingCursorProvider.tsx:35 |
enable | () => void | Enable cursor | lib/vowel/components/FloatingCursorProvider.tsx:38 |
disable | () => void | Disable cursor | lib/vowel/components/FloatingCursorProvider.tsx:41 |