Interface: SelectionState<Row>
Defined in: packages/sdvplot/src/selection.ts:27
What a SelectionStore holds. Immutable: every change replaces it, and a snapshot is read-only at runtime too
(its sets' add, delete and clear, and a write to it or its cursor, throw a TypeError): pass changes to
store.set, or copy a set with new Set(ids).
Type Parameters
Row
Row = unknown
Properties
cursor
readonlycursor:Cursor|null
Defined in: packages/sdvplot/src/selection.ts:35
The shared hover value; null when the pointer is on no linked chart.
hover
readonlyhover:ReadonlySet<string>
Defined in: packages/sdvplot/src/selection.ts:29
Ids under the pointer right now (transient).
predicate
readonlypredicate:RowFilter<Row> |null
Defined in: packages/sdvplot/src/selection.ts:33
The brush region as a row test; null when nothing is brushed.
selected
readonlyselected:ReadonlySet<string>
Defined in: packages/sdvplot/src/selection.ts:31
Ids picked by a table-row click or a brush (sticky).