max
Gets/Sets the max value of the Slider.
Parameters
value Number | String
The max value to set.
Returns
Number
The max value of the Slider.
Example - get the max value of the Slider
<input id="slider" />
<script>
$("#slider").kendoSlider();
var slider = $("#slider").data("kendoSlider");
var max = slider.max();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(max);
</script>
Example - set the max value of the Slider
<input id="slider" />
<script>
$("#slider").kendoSlider();
var slider = $("#slider").data("kendoSlider");
slider.max(20);
</script>