开发者

Question on iscroll.js for iPad

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜