[英]Disable scrolling by touch in pagepiling
I use the pagepiling.js library, how can I disable navigation by touch in the mobile?我使用pagepiling.js库,如何在移动设备中禁用触摸导航? In the mobile, the slide can be changed with a finger on the screen.
在手机中,可以用手指在屏幕上更改幻灯片。 How to disable?
如何禁用?
You can use this: setAllowScrolling(boolean, [directions])
你可以使用这个:
setAllowScrolling(boolean, [directions])
$.fn.pagepiling.setAllowScrolling(false);
For disabling keyboard scrolling:禁用键盘滚动:
$.fn.pagepiling.setKeyboardScrolling(false);
For disabling mouse wheel scrolling:要禁用鼠标滚轮滚动:
$.fn.pagepiling.setMouseWheelScrolling(false);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.