wangliuyang
2022-09-14 9d0d1b30e85f87a3a693bf2829f486a0b11f8d56
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
var UIKnob = function () {
 
    return {
        //main function to initiate the module
        
        init: function () {
            //knob does not support ie8 so skip it
            if (!jQuery().knob || App.isIE8()) {
                return;
            }
 
            // general knob
            $(".knob").knob({
                'dynamicDraw': true,
                'thickness': 0.2,
                'tickColorizeValues': true,
                'skin': 'tron'
            });  
        }
 
    };
 
}();