powerdns-admin/app/static/admin/pages/scripts/components-knob-dials.js

24 lines
551 B
JavaScript
Raw Normal View History

2015-12-13 09:34:12 +00:00
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'
});
}
};
}();