EditorStateSelectionSpec
Unofficial
A selection specified as an anchor position and optional head position.
Import:
import type { EditorStateSelectionSpec } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface EditorStateSelectionSpecProperties
| Property | Type | Description | |
|---|---|---|---|
| anchor | number | The anchor position of the selection. | |
| head? | number | The head position of the selection. |