value
Gets or sets the value of a Slider. It accepts a string or number as parameters and returns a number representing the underlying value.
Example
<input id="slider" style="width: 300px" />
<script>
$("#slider").kendoSlider({
precision: 4,
smallStep:0.0001,
largeStep:0.0001,
min:0,
max:0.0004,
value: 0.0002,
tooltip: {
format: "{0:#,#.####}"
}
});
var slider = $("#slider").data("kendoSlider");
var sliderValue = slider.value();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(sliderValue);
</script>
Parameters
value Number
_optional, default: _
The value to be set for a Slider.
Returns
Number
The value of the Slider.