Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | var ComponentsKnobDials = function () { |
| 2 | |||
| 3 | return { |
||
| 4 | //main function to initiate the module |
||
| 5 | |||
| 6 | init: function () { |
||
| 7 | //knob does not support ie8 so skip it |
||
| 8 | if (!jQuery().knob || Metronic.isIE8()) { |
||
| 9 | return; |
||
| 10 | } |
||
| 11 | |||
| 12 | // general knob |
||
| 13 | $(".knob").knob({ |
||
| 14 | 'dynamicDraw': true, |
||
| 15 | 'thickness': 0.2, |
||
| 16 | 'tickColorizeValues': true, |
||
| 17 | 'skin': 'tron' |
||
| 18 | }); |
||
| 19 | } |
||
| 20 | |||
| 21 | }; |
||
| 22 | |||
| 23 | }(); |