I use the pagepiling.js library, how can I disable navigation by touch in the mobile? In the mobile, the slide can be changed with a finger on the screen. How to disable?
You can use this: setAllowScrolling(boolean, [directions])
$.fn.pagepiling.setAllowScrolling(false);
For disabling keyboard scrolling:
$.fn.pagepiling.setKeyboardScrolling(false);
For disabling mouse wheel scrolling:
$.fn.pagepiling.setMouseWheelScrolling(false);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.