value

The value method gets or sets the values of the RangeSlider. It accepts an array as parameter, 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

startEndArray Array

Array of two numbers—start and end.

Returns

Array The value of the RangeSlider.

In this article
Not finding the help you need? Improve this article