Skip to main content

Slider API overview


destructor()removes a slider instance and releases occupied resources
disable()disables slider
enable()enables 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


changefires on change of the slider value
mouseDownfires on pressing the left mouse button over the slider thumb
mouseUpfires on releasing the left mouse button over the slider thumb


cssadds style classes for the component
helpMessageadds an icon with a question mark next to Slider
hiddenLabeladds a hidden label for a Slider that will be used while sending a form to the server
inverseenables/disables the inverse slider mode
labelspecifies the label of a slider
labelPositiondefines the position of a label of a slider
labelWidthsets the width of a label
majorTicksets interval of rendering numeric values on the slider scale
maxthe maximal value of slider
minthe minimal value of slider
modethe direction of the Slider scale
rangeenables/disables the possibility to select a range of values on the slider
stepthe step the slider thumb will be moved with
ticksets the interval of steps for rendering the slider scale
tickTemplatesets a template for rendering values on the scale
tooltipenables a tooltip on hovering over the slider thumb
valuethe value the thumb will be set at on initialization of the slider