开发者

Question on iscroll.js for iPad

开发者 https://www.devze.com 2023-03-22 09:51 出处:网络
How do I customized iscroll.js to have 2-finger scrolling. Below is the URL for the JS library; http://cubiq.org/iscroll-4

How do I customized iscroll.js to have 2-finger scrolling. Below is the URL for the JS library; http://cubiq.org/iscroll-4

I want to simulate t开发者_如何学编程he same scrolling for 2-finger (as one gets for 1-finger)...Reason being 1-finger is used for drag action in my case..


You can't do that. iScroll 4 is designed to scroll content on touchstart (1 finger triggers it).

If you want to scroll with 2 fingers, do not use iScroll...

After checking the code of iScroll 4, it is not possible to trigger scroll with 2fingers as it is used to zoom in/out...

You can use native scroll to handle with what you want...

0

精彩评论

暂无评论...
验证码 换一张
取 消