有可能吗?jQuery 旋钮
我正在尝试禁用鼠标滚轮,但仍然允许它可以拖动/调整。您可以将旋钮设置为 readOnly: true,但这不会让您拖动转盘。有任何想法吗?
$(".dial").knob({
min: 1
max: 10
stopper: true,
readOnly: true,//if true This will Set the Knob readonly cannot click
release: function (value) {
//Do something as you release the mouse
}
});
$(".dial").bind("mousewheel", function() {
return false;
});