Answer the question
In order to leave comments, you need to log in
What is the address of format: wNumb({postfix: '10',})?
Hello. I'm trying to attach nouislider to jquery.change(). Essence: When select value changes then nouislider settings change. Here is the nouislider setup
var slider = document.getElementById('slider-range-format'),
settings = {
range: {
'min': 0,
'max': 120
},
start: [ 40, 60 ],
margin: 2,
step: 2,
format: wNumb({
decimals: 3,
thousand: '.',
postfix: '10',
})
};
$("#what").change(function(){
settings.range.min = [0, 30, 2][this.selectedIndex];
settings.range.max = [120, 200, 30][this.selectedIndex];
});
range: {
'max': 120
},
settings.range.max
format: wNumb({
decimals: 3,
thousand: '.',
postfix: '10',
})
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question