RangeSliderView.id
property · packages/mixins-ui/src/rangeSlider.ts:52
readonly id: stringPrefixes the ids the slider draws, unique on the page.
Mixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/rangeSlider.ts:50
interface RangeSliderView<Message> extends Bounds {
readonly id: string
readonly label: string
readonly value: Range
readonly onChange: (value: Range) => NoInfer<Message>
readonly format?: ((value: number) => string) | undefined
readonly thumbLabels?:
| {
readonly low: string
readonly high: string
}
| undefined
readonly name?: string | undefined
readonly disabled?: boolean | undefined
readonly style?: NamedStyle<typeof RangeSliderSlots> | undefined
readonly mixins?: MixinList<Message> | undefined
}RangeSliderView.idproperty · packages/mixins-ui/src/rangeSlider.ts:52
readonly id: stringPrefixes the ids the slider draws, unique on the page.
RangeSliderView.labelproperty · packages/mixins-ui/src/rangeSlider.ts:54
readonly label: stringWhat the range chooses, shown and naming the group.
RangeSliderView.valueproperty · packages/mixins-ui/src/rangeSlider.ts:56
readonly value: Rangelow at most high, both within the bounds and on the step.
RangeSliderView.onChangeproperty · packages/mixins-ui/src/rangeSlider.ts:58
readonly onChange: (value: Range) => NoInfer<Message>The Message for the next range; its type comes from h.
RangeSliderView.formatproperty · packages/mixins-ui/src/rangeSlider.ts:60
readonly format?: ((value: number) => string) | undefinedHow a value reads aloud, as each thumb's aria-valuetext; default String.
RangeSliderView.thumbLabelsproperty · packages/mixins-ui/src/rangeSlider.ts:62
readonly thumbLabels?:
| {
readonly low: string
readonly high: string
}
| undefinedThe thumbs' names; default Minimum and Maximum.
RangeSliderView.nameproperty · packages/mixins-ui/src/rangeSlider.ts:64
readonly name?: string | undefinedSubmits both values under this name, low first.
RangeSliderView.disabledproperty · packages/mixins-ui/src/rangeSlider.ts:65
readonly disabled?: boolean | undefinedRangeSliderView.styleproperty · packages/mixins-ui/src/rangeSlider.ts:67
readonly style?: NamedStyle<typeof RangeSliderSlots> | undefinedA style of RangeSliderSlots, for the look.
RangeSliderView.mixinsproperty · packages/mixins-ui/src/rangeSlider.ts:69
readonly mixins?: MixinList<Message> | undefinedMixins beside the style.