SliderFieldDefinition renders a horizontal bar that allows you to set a numeric value within a defined range by dragging a handle with the mouse. The value appears as you move the handle.
Slider field definition is part of the Magnolia 6 UI framework. The fully qualified class name is info.magnolia.ui.field.SliderFieldDefinition
.
This field has been introduced since Magnolia 6.2. There is no corresponding implementation in the Magnolia 5 UI framework.
Example slider field definition
slider: $type: sliderField defaultValue: 50 stepSize: 5 gridStepSize: 25 valueFormat: PERCENTAGE
Slider field properties
min | optional, default is Minimum value of the slider range. |
max | optional, default is Maximum value of the slider range. |
stepSize | optional, default is Size of increments by which the slider handle moves. |
gridStepSize | optional, default is Size of increments by which values appear on the bar. |
valueFormat | optional, default is Format can be |
See also Common field properties.