Open Speedy2k opened 4 years ago
Also another question, how can i modify the max value once the main setup is done ?
if you use the plugin in this way you can improve html input number everywhere : https://github.com/aterrien/jQuery-Knob/issues/365
I have a problem where i have a left menu bar that is folded by default, when i unfold the menu bar the digit ket moved away from the dial.
Here is my layout in the html:
And my js to generate it! $(document).ready(function(){ console.log("Document is loaded!"); $(function() { $("#vacKnob").knob({ 'min':0, 'max':30, 'step':'.1', 'angleArc': 250, 'angleOffset':-125, 'width':100, 'height':100, 'fgColor':'#71b444', 'lineCap':'round', 'readOnly':true, }); }); $("#vacKnob").val(0).trigger('change'); });