滑块 v10.0.0 - 零件

我们将选择选择器的样式设置为类似于下拉列表和其他输入。 要查看原始文档,请查看Snappoinments [在GitHub上的repo](https:developer.snapappointments.com bootstrap-select){:target =“_ blank”}

有关更多信息,请检查 Full Github Documentation.


<!-- Markup -->
<div id="sliderRegular" class="slider"></div>
<br>
<div id="sliderDouble" class="slider slider-rose"></div>
<!-- Javascript -->
var slider = document.getElementById('sliderRegular');

noUiSlider.create(slider, {
	start: 40,
	connect: [true,false],
	range: {
		min: 0,
		max: 100
	}
});

var slider2 = document.getElementById('sliderDouble');

noUiSlider.create(slider2, {
	start: [ 20, 60 ],
	connect: true,
	range: {
		min:  0,
		max:  100
	}
});