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();

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>
In this article
Not finding the help you need?