values

The values method gets or sets the start and end values of the RangeSlider. It accepts either an an array as parameter or two parameters—start and end, and returns an object array with the start and end selection values.

Example

<div id="rangeslider" style="width: 200px;">
    <input />
    <input />
</div>
<script>
    $(document).ready(function() {
        $("#rangeslider").kendoRangeSlider();
        var rangeSlider = $("#rangeslider").getKendoRangeSlider();

    });
</script>

Parameters

selectionStart Number

The selection start value of the RangeSlider.

selectionEnd Number

The selection start value of the RangeSlider.

Returns

Array The value of the RangeSlider.

In this article
Not finding the help you need?