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