Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow-ui / index / SliderProps

Interface: SliderProps

Defined in: flow-ui/src/components/Slider.tsx:23

Indexable

[key: string]: unknown

Properties

bind?

optional bind?: unknown

Defined in: flow-ui/src/components/Slider.tsx:25

Bound

Expose

number — this.volume.


name?

optional name?: string

Defined in: flow-ui/src/components/Slider.tsx:26


min?

optional min?: number

Defined in: flow-ui/src/components/Slider.tsx:27


max?

optional max?: number

Defined in: flow-ui/src/components/Slider.tsx:28


step?

optional step?: number

Defined in: flow-ui/src/components/Slider.tsx:29


showValue?

optional showValue?: boolean

Defined in: flow-ui/src/components/Slider.tsx:31

Show the live value beside the track.


format?

optional format?: string

Defined in: flow-ui/src/components/Slider.tsx:39

Format the readout — a price, a percentage.

A client-side expression rather than a function, because the readout has to change while the thumb moves and a server-side formatter cannot run then. The live number is in scope as value, e.g. format="'R' + value".


disabled?

optional disabled?: boolean

Defined in: flow-ui/src/components/Slider.tsx:40


class?

optional class?: string

Defined in: flow-ui/src/components/Slider.tsx:41