Skip to main content


fires on change of the slider value

change: (value: number, oldValue: number, isRange: boolean) => void;


  • value: number - the new value set for the slider
  • oldValue: number - the previous value of the slider
  • isRange: boolean - defines, whether the range mode is activated for the slider

Example"change", function(value, oldValue, isRange){
console.log("The value of a slider has changed to "+slider.getValue());

Related sample: Slider. Slider Events