Interface: ValueRange
Defined in: scales.ts:264
How a value is scaled: the range it lives in, how it is rounded, and how it is distributed across the travel.
AxisOptions of @tremolo-ui/dom extends this, so a drag and a
wheel / keyboard nudge run the same value pipeline.
Properties
max
max: number;
Defined in: scales.ts:266
min
min: number;
Defined in: scales.ts:265
scale?
optional scale?: Scale;
Defined in: scales.ts:276
How the value is distributed across the travel.
Default
linearScale
step?
optional step?: number;
Defined in: scales.ts:270
Rounding applied to the value. Left unrounded when omitted.