Closed tracs closed 7 years ago
Can I use an array of values on my knob? Like: 20,30,60,100,200,400,800
Solved by:
var values = [20, 30, 60, 100, 200, 400, 800];
$(".foo").knob({ min: 0, max: values.length - 1, step: 1, format: function(v) { return values[v]; } });
Can I use an array of values on my knob? Like: 20,30,60,100,200,400,800