You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
599 B
27 lines
599 B
var ComponentsKnobDials = 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'
|
|
});
|
|
}
|
|
|
|
};
|
|
|
|
}();
|
|
|
|
jQuery(document).ready(function() {
|
|
ComponentsKnobDials.init();
|
|
});
|