mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 01:20:27 +00:00
24 lines
551 B
JavaScript
24 lines
551 B
JavaScript
|
var ComponentsKnobDials = function () {
|
||
|
|
||
|
return {
|
||
|
//main function to initiate the module
|
||
|
|
||
|
init: function () {
|
||
|
//knob does not support ie8 so skip it
|
||
|
if (!jQuery().knob || Metronic.isIE8()) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
// general knob
|
||
|
$(".knob").knob({
|
||
|
'dynamicDraw': true,
|
||
|
'thickness': 0.2,
|
||
|
'tickColorizeValues': true,
|
||
|
'skin': 'tron'
|
||
|
});
|
||
|
}
|
||
|
|
||
|
};
|
||
|
|
||
|
}();
|