我正在使用 Jquery 旋钮(http://anthonyterrien.com/knob/ http://anthonyterrien.com/knob/)并且它工作得很好,但我不想在中间显示无量纲数字,我想用它显示单位 ei % 或 F 等...我该怎么做?
$("input.Measure").knob({
min: 1
max: 10
stopper: true,
readOnly: false,//if true This will Set the Knob readonly cannot click
draw: function () {
$(this.i).val(this.cv + '%') //Puts a percent after values
},
release: function (value) {
//Do something as you release the mouse
}
});
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)