When true
, sets the slider to a disabled state so the user cannot interact with it.
Indicates if the user can drag the segment between thumbs to update thumb positions.
The unique ID assigned to the widget when the widget is created.
A function that provides the developer with access to the input elements when rangeLabelInputsEnabled and/or labelInputsEnabled are set to true
.
A function used to format user inputs.
Function used to parse slider inputs formatted by the inputFormatFunction.
The widget's label.
The HTML Element nodes representing labels attached to slider thumbs.
A function used to format labels.
Indicates whether to enable editing input values via keyboard input when the user clicks a label.
An array of strings associated with 'values' generated using an internal label formatter or the values returned from labelFormatFunction.
Indicates whether to display labels alongside slider thumbs.
Determines the layout/orientation of the Slider widget.
The maximum possible data/thumb value of the slider.
The HTML Element node representing the max value label.
The minimum possible data/thumb value of the slider.
The HTML Element node representing the min value label.
Defines how slider thumb values should be rounded.
The HTML Element nodes representing interactive slider segments.
Indicates if the closest thumb will snap to the clicked location on the track.
The current state of the widget.
Sets steps, or intervals, on the slider that restrict user input to specific values.
When true
, all segments will sync together in updating thumb values when the user drags any segment.
Function that executes each time a thumb is created on the slider.
The HTML Element nodes representing slider thumbs.
When false
, the user can freely move any slider thumb to any position along the track.
When set, renders ticks along the slider track.
The HTML Element nodes representing slider ticks and their associated labels.
The HTML Element node representing the slider track.
An array of numbers representing absolute thumb positions on the slider.
The view model for the Slider widget.
Indicates whether the widget is visible.
The visible elements that are displayed within the widget.
A utility method used for building the value for a widget's class
property.
Destroys the widget instance.
Emits an event on the instance.
Indicates whether there is an event listener on the instance that matches the provided event name.
isFulfilled()
may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected).
isRejected()
may be used to verify if creating an instance of the class is rejected.
isResolved()
may be used to verify if creating an instance of the class is resolved.
Widget teardown helper.
This method is primarily used by developers when implementing custom widgets. Executes after widget is ready for rendering.
This method is primarily used by developers when implementing custom widgets. It must be implemented by subclasses for rendering.
Renders widget to the DOM immediately.
This method is primarily used by developers when implementing custom widgets. Schedules widget rendering.
when()
may be leveraged once an instance of the class is created.
Generated using TypeDoc
The ID or node representing the DOM element containing the widget.
Read more...