Doc › getCursor
Unofficial
Gets the cursor position.
Signature:
getCursor(start?: string | undefined): Position
Parameters:
| Parameter | Type | Description |
| start? | string | undefined | Optional string indicating which end of the selection to return. |
Returns: Position — The cursor position.