mirror of
https://gitee.com/coder-xiaomo/flashsale
synced 2025-09-13 15:31:38 +08:00
添加Metronic(作为LFS)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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'
|
||||
});
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
}();
|
Reference in New Issue
Block a user