Slider
Signature
readonly DialogHelper.types.SLIDER: ContentElementType
Type
ContentElementType
exported readonly member of the require('xd-dialog-helper').types
namespace
Description
A numeric value slider element
Properties in element declaration
Required properties
id: string
label: string
value: number
– Initial value of the sliderhtmlAttributes: object
– get applied to the<input type="range">
elementhtmlAttributes.min: number
– minimum slider valuehtmlAttributes.max: number
– maximum slider value
Supported properties
unit: string
– Unit of the slider – gets displayed on the right-hand side above the slider