Slider
The dxSlider is a widget that allows an end user to set a numeric value on a continuous range of possible values.
You can create the widget using one of the following approaches.
jQuery
Use the dxSlider jQuery plug-in.HTML<div id="slider"></div>
JavaScript$("#slider").dxSlider({ min: 0, max: 100, step: 5, label: { visible: true, position: 'bottom' } });
Knockout
Add a div element and apply the dxSlider binding to this element.HTML<div data-bind="dxSlider: { min: 0, max: 100, step: 5, label: { visible: true, position: 'bottom' } }"></div>
AngularJS
Add a div element and apply the dx-slider directive to this element.HTML<div dx-slider="{ min: 0, max: 100, step: 5, label: { visible: true, position: 'bottom' } }"></div>
Note that DevExtreme widgets require you to link the jQuery and Globalize libraries to your application. If you use the Knockout or AngularJS approach, the Knockout or AngularJS library is also required. For detailed information on linking these libraries to your project, refer to the Installation article.
You can find detailed information on the principles of working with the widget in the dxSlider section of the Editor Widgets article.