您的位置:首页 > 其它

阻止浏览器自身滑动事件 例如苹果手机的上拉下拉滑动

2017-03-07 09:55 316 查看
$(document).ready(function(){
function stopScrolling(event) {
event.preventDefault();
}
document.addEventListener('touchmove',stopScrolling,false);
})
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: