Ant*_*ore 8 iphone jquery function touch swipe
我只是在寻找能够检测触摸设备上手指滑动的聆听者.
例如;
if (swipe.direction == 'left' ) {
function();
}
Run Code Online (Sandbox Code Playgroud)
通过 jQueryMobile,您可以使用多个事件,例如swipe、 甚至swipeleft、swiperight、tap等。
http://jquerymobile.com/test/docs/api/events.html