关于 iPad 版 iscroll.js 的问题
如何自定义 iscroll.js 以实现 2 指滚动。下面是 JS 库的 URL; http://cubiq.org/iscroll-4
我想模拟 2 指的相同滚动(正如一个手指所获得的那样)...在我的例子中,1 指的原因用于拖动动作..
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 the same scrolling for 2-finger (as one gets for 1-finger)...Reason being 1-finger is used for drag action in my case..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你不能那样做。 iScroll 4 设计用于在 touchstart 上滚动内容(1 个手指触发它)。
如果你想用2个手指滚动,不要使用iScroll...
检查iScroll 4的代码后,无法用2个手指触发滚动,因为它是用来放大/缩小的...
您可以使用原生滚动处理你想要的事情...
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...