阅读背景:

在触控设备上检测左/右滑动,但允许向上/向下滚动

来源:互联网 

I need to detect and react to left/right-swipes, but want to give the user the ability to scroll on the same element, so as long as he moves his finger only left/right with a maximum up/down movement of X pixels, it should not scroll, but when he exceeds X, it should scroll.I need to detect and react to left/right-swipes




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: