EditorSelection
interface exported by @mwillbanks/tuil-editor.
interface
Public interface exported by @mwillbanks/tuil-editor.
export interface EditorSelection extends EditorRange {
readonly primary?: boolean;
}Members
| Member | Type | Required | Description | Related types |
|---|---|---|---|---|
primary | boolean | undefined | No | The primary member uses the boolean | undefined contract. | — |
anchor | EditorPosition | Yes | The anchor member uses the EditorPosition contract. | EditorPosition |
head | EditorPosition | Yes | The head member uses the EditorPosition contract. | EditorPosition |
Parameters
This declaration has no public members.
Returns
This declaration does not return a value.
Throws
No thrown errors are documented for this declaration.
Related types
Source
View the secondary source reference