Interface: SelectionDim<V>
Defined in: mosaic-selection.ts:174
A live dimension: the semantic value box plus its identity and targets.
Type Parameters
V
V
Properties
description?
readonlyoptionaldescription?:string
Defined in: mosaic-selection.ts:180
kind
readonlykind:"interval"|"point"
Defined in: mosaic-selection.ts:177
loc?
readonlyoptionalloc?:string
Defined in: mosaic-selection.ts:181
name
readonlyname:string
Defined in: mosaic-selection.ts:176
The effective identity — scope-qualified when declared with one.
scope?
readonlyoptionalscope?:string
Defined in: mosaic-selection.ts:179
The declaring scope's name, when scoped.
targets
readonlytargets: readonlySelectionDimTarget[]
Defined in: mosaic-selection.ts:182
Methods
clear()
clear():
null
Defined in: mosaic-selection.ts:193
Retract this dimension's clause from every target.
Returns
null
get()
get():
V
Defined in: mosaic-selection.ts:184
Reactive read of the semantic value (null = no filter).
Returns
V
set()
set(
value):V
Defined in: mosaic-selection.ts:191
Validate, publish one clause per target (replacing this dimension's prior clause — stable sources), and store the semantic value. Returns what was APPLIED (clamped/normalized) — never a re-read; writes are staged (see durable.ts).
Parameters
value
V
Returns
V