Interface: ControlMeta<T>
Defined in: control.ts:42
Constraint / presentation metadata for a control's value.
Extended by
Type Parameters
T
T
Properties
max?
optionalmax?:number
Defined in: control.ts:46
Inclusive upper bound (numbers). Out-of-range writes are CLAMPED.
min?
optionalmin?:number
Defined in: control.ts:44
Inclusive lower bound (numbers). Out-of-range writes are CLAMPED.
options?
optionaloptions?: readonlyT[]
Defined in: control.ts:52
Legal values (enums). A write outside the set THROWS.
step?
optionalstep?:number
Defined in: control.ts:48
Snap increment (numbers), anchored at min (else 0).
unit?
optionalunit?:string
Defined in: control.ts:50
Display unit ("eV", "ms") — presentation only.