Jquery plugins mobiscroll-单击选择选项
我正在决定如何在一个站点上实现选择,并且正在强烈考虑mobiscroll,有一件事让我很恼火,那就是与选择一个选项后所需的老式下拉设置按钮相比,额外的点击 我的问题是,当通过单击或触摸选择某个选项时,是否有办法关闭滚动条并设置值,但如果由于拖动滚动条或使用鼠标滚轮而选择了新选项,则没有办法 这是我的代码:Jquery plugins mobiscroll-单击选择选项,jquery-plugins,mobiscroll,Jquery Plugins,Mobiscroll,我正在决定如何在一个站点上实现选择,并且正在强烈考虑mobiscroll,有一件事让我很恼火,那就是与选择一个选项后所需的老式下拉设置按钮相比,额外的点击 我的问题是,当通过单击或触摸选择某个选项时,是否有办法关闭滚动条并设置值,但如果由于拖动滚动条或使用鼠标滚轮而选择了新选项,则没有办法 这是我的代码: <script type="text/javascript"> $('#myScroller').mobiscroll({ preset:
<script type="text/javascript">
$('#myScroller').mobiscroll({
preset: 'select',
theme: 'android-ics',
mode: 'mixed',
display: 'bubble',
rows: 7,
inputClass: 'subtleDropdown',
onChange: function(val, inst) {
//I would think this is where it's supposed to go, no luck thus far though!
console.log(this);
},
});
</script>
干杯 最后,我们决定不使用mobiScroll,因为它提供的信息太少,所以我结束这个问题