sliderControlConfig
Examples
kind: Slider
value: 50
min: 10
max: 100
precision: 1
label: My Label
unit: mm # OPTIONAL
disableWhen: # OPTIONAL
kind: Equal
control: my-other-control1
value: 1
hideWhen: # OPTIONAL
kind: Falsy
control: my-other-control2
Object properties
Name |
Type |
Required |
kind |
Constant: Slider |
yes |
value |
number |
yes |
min |
number |
yes |
max |
number |
yes |
precision |
integer |
yes |
label |
string |
yes |
unit |
string |
no |
disableWhen |
One of |
no |
hideWhen |
One of |
no |
- Object with the following properties:
kind
(required): Constant Slider
value
(required): number
min
(required): number
max
(required): number
precision
(required): integer
label
(required): string
unit
(optional): string
disableWhen
(optional):
- Disable this control based on another control’s value
- One of the following types:
hideWhen
(optional):
- Hide this control based on another control’s value
- One of the following types: