iscroll滑动效果
文章目录
iscroll滑动效果
使用iscroll滑动要禁止touchmove事件的默认动作,见demo12new IScroll('#wrapper', { scrollX: true, scrollY: false, mouseWheel: true });document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);