Detect iPhone scroll using jQuery

I'm just looking for a listener who finds a finger swipe on the touch device.

For example:

if (swipe.direction == 'left' ) { function(); } 
+7
source share
3 answers

With jQueryMobile, you can use multiple events like swipe or even swipeleft , swiperight , tap , etc.

http://jquerymobile.com/test/docs/api/events.html

+3
source
+4
source

A more convenient plugin for handling swipes (if that's all you need) is Touch Swipe.

I found the touchwipe to be pretty rubbish, and I always find the jQueryMobile way difficult when all you want is this functionality.

https://github.com/mattbryson/TouchSwipe-Jquery-Plugin

+1
source

All Articles