Skip to content

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?

readonly optional description?: string

Defined in: mosaic-selection.ts:180


kind

readonly kind: "interval" | "point"

Defined in: mosaic-selection.ts:177


loc?

readonly optional loc?: string

Defined in: mosaic-selection.ts:181


name

readonly name: string

Defined in: mosaic-selection.ts:176

The effective identity — scope-qualified when declared with one.


scope?

readonly optional scope?: string

Defined in: mosaic-selection.ts:179

The declaring scope's name, when scoped.


targets

readonly targets: readonly SelectionDimTarget[]

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