noUiSlider.create(slider, {
start: [4000, 15100],
connect: true,
step: 1,
tooltips: true,
format: {
to: function (value) {
return value + ' р';
},
from: function (value) {
return value.replace('', '');
}
},
range: {
'min': 200,
'max': 25000
}
});
<div id="slider"></div>