Slider
A customizable slider component for selecting numeric values through an interactive sliding interface. Features customizable appearance, range controls, markers, labels, and badges. Supports both horizontal and vertical orientations, custom track styling, and precise value formatting.
Extends: fieldComponent
Fields
Name | Code | Data Type | Description |
|---|---|---|---|
Minimum Value |
| text | Minimum value that can be selected on the slider |
Maximum Value |
| text | Maximum value that can be selected on the slider |
Inner Minimum |
| text | Minimum value for the inner range |
Inner Maximum |
| text | Maximum value for the inner range |
Step |
| text | The increment value for each step of the slider |
Vertical |
| boolean | Controls whether the slider is displayed vertically |
Snap |
| boolean | When enabled, slider value snaps to steps |
Show Label |
| boolean | Controls whether the value label is always visible |
Label Format |
| text | Format pattern for displaying the slider value |
Label Format Script |
| text | Custom JavaScript function for formatting the displayed value |
Track Color |
| text | Color of the slider track |
Read Only |
| boolean | When enabled, prevents user interaction with the slider |
Inner Track Color |
| text | Color of the inner track section |
Inner Track Image |
| text | Image URL for the inner track background |
Track Size |
| text | Width of the slider track |
Color |
| text | Main color of the slider component |
Selection Color |
| text | Color of the selected portion of the slider |
Badge Color |
| text | Color of the value badge if shown |
Track Image |
| text | Image URL for the track background |
Show Marker Labels |
| boolean | Controls visibility of value markers on the track |
Show Markers |
| boolean | Controls visibility of step markers on the track |
Switch Label Props |
| boolean | Switches the side of the label display |
Switch Marker Props |
| boolean | Switches the side of the marker labels |
Show Badge |
| boolean | Controls visibility of the value badge |
Label |
| multi-locale | Display label for the slider |
ID |
| text | Unique identifier for the component |
Style Classes |
| text | CSS classes for styling |
Style |
| text | Custom inline styles |
Width |
| text | Controls component width |
Value |
| text | Current value of the slider |
Visible |
| boolean | Controls component visibility |
Enabled |
| boolean | Controls whether component is enabled |
Field Style |
| text | Additional field styling options |
Methods
Name | Description |
|---|---|
| Handles slider value changes and triggers change events with throttling |
Events
Name | Description |
|---|---|
| Triggered when the slider value changes |
| Triggered when the slider loses focus |
| Triggered when the slider gains focus |