Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Interface: SelectionRange

@roomful/cursors


@roomful/cursors / SelectionRange

Defined in: selection-highlight.types.ts:6

Describes a text selection range within a target element.

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.