$.noUiSlider slider is not working properly while making it vertical and trying to get max value at top and min at bottom using direction option. here is the code below
noUiSlider.create(document.getElementById('slider-range'), {
start: [20, 50],
direction: 'rtl',
orientation: 'vertical',
tooltips: [true,true],
range: {
'min': [ 10 ],
'max': [ 90 ]
}});
You should try without [ and ] that surrounds your min and max values :
noUiSlider.create(document.getElementById('slider-range'), {
start: [20, 50],
direction: 'rtl',
orientation: 'vertical',
tooltips: [true,true],
range: {
'min': 10,
'max': 90
}})
Demonstration here : https://codepen.io/andreds/pen/BJdYqx
More details and documentation here : https://refreshless.com/nouislider/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.