Interface: SelectionRange
@roomful/cursors / SelectionRange
Interface: SelectionRange
Section titled “Interface: SelectionRange”Defined in: selection-highlight.types.ts:6
Describes a text selection range within a target element.
Properties
Section titled “Properties”elementId
Section titled “elementId”elementId:
string
Defined in: selection-highlight.types.ts:10
Identifies the target element containing the selection.
from:
number
Defined in: selection-highlight.types.ts:15
Supplies the selection start offset.
to:
number
Defined in: selection-highlight.types.ts:20
Supplies the selection end offset.