Interface: SelectionHighlightProps\<TPresence\>
@roomful/cursors / SelectionHighlightProps
Interface: SelectionHighlightProps<TPresence>
Section titled “Interface: SelectionHighlightProps<TPresence>”Defined in: selection-highlight.types.ts:28
Configures the selection highlight component.
Type Parameters
Section titled “Type Parameters”TPresence
Section titled “TPresence”TPresence extends PresenceData = PresenceData
The peer presence shape.
Properties
Section titled “Properties”peer:
Peer<TPresence>
Defined in: selection-highlight.types.ts:32
Supplies the peer whose selection is being rendered.
selection
Section titled “selection”selection:
SelectionRange|null
Defined in: selection-highlight.types.ts:37
Supplies the active selection to highlight, or null to clear it.