Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow / index / SliderProps

Interface: SliderProps

Defined in: flow/src/headless.ts:880

Indexable

[key: string]: unknown

Properties

bind?

optional bind?: unknown

Defined in: flow/src/headless.ts:882

Bound

Expose

number — this.volume.


name?

optional name?: string

Defined in: flow/src/headless.ts:883


min?

optional min?: number

Defined in: flow/src/headless.ts:884


max?

optional max?: number

Defined in: flow/src/headless.ts:885


step?

optional step?: number

Defined in: flow/src/headless.ts:886


class?

optional class?: string

Defined in: flow/src/headless.ts:887


inputClass?

optional inputClass?: string

Defined in: flow/src/headless.ts:888


inputStyle?

optional inputStyle?: string

Defined in: flow/src/headless.ts:895

Initial inline style for the input — a track gradient, typically.

Server-rendered so the track is filled on first paint, then replaced by SliderProps.inputStyleExpression once Alpine takes over.


inputStyleExpression?

optional inputStyleExpression?: string

Defined in: flow/src/headless.ts:900

Alpine expression producing the input's style while dragging. value and percent() are in scope.


children?

optional children?: unknown

Defined in: flow/src/headless.ts:902

Rendered inside the wrapper, after the input — a readout, a tick strip.