setOptions

Changes the initial Slider configuration.

Parameters

options Object

The new configuration options. It can be used for changing "min", "max", "smallStep" and "largeStep" options of the Slider.

Example

Open In Dojo
<input id="slider" />
<script>
$("#slider").kendoSlider({
    min: -10,
    max: 20,
    smallStep: 2,
});

var slider = $("#slider").data("kendoSlider");

slider.setOptions({
    min: -5,
    max: 5,
    smallStep: 1,
    largeStep: 2
});
</script>
In this article