Skip to main content

Slider API overview


blur()removes focus from a thumb of Slider
destructor()removes a slider instance and releases occupied resources
disable()disables slider
enable()enables slider
focus()sets focus to a thumb of Slider
getValue()returns the current value of Slider
isDisabled()checks whether Slider is disabled
paint()repaints Slider on a page
setValue()sets a value for the slider


beforeChangefires before changing of the slider value
blurfires when a thumb of Slider has lost focus
changefires on change of the slider value
focusfires when a thumb of Slider has received focus
keydown fires when any key is pressed and a thumb of Slider is in focus
mouseDownfires on pressing the left mouse button over the slider thumb
mouseUpfires on releasing the left mouse button over the slider thumb


cssOptional. Adds style classes for the component
helpMessageOptional. Adds an icon with a question mark next to Slider
hiddenLabelOptional. Adds a hidden label for a Slider that will be used while sending a form to the server
inverseOptional. Enables/disables the inverse slider mode
labelOptional. Specifies the label of a slider
labelPositionOptional. Defines the position of a label of a slider
labelWidthOptional. Sets the width of a label
majorTickOptional. Sets interval of rendering numeric values on the slider scale
maxOptional. The maximal value of slider
minOptional. The minimal value of slider
modeOptional. The direction of the Slider scale
rangeOptional. Enables/disables the possibility to select a range of values on the slider
stepOptional. The step the slider thumb will be moved with
tickOptional. Sets the interval of steps for rendering the slider scale
tickTemplateOptional. Sets a template for rendering values on the scale
tooltipOptional. Enables a tooltip on hovering over the slider thumb
valueOptional. The value the thumb will be set at on initialization of the slider