Fork me on GitHub

property: threshold

By setting the threshold you can set how far the user must swipe before it is considered a swipe.
Swipe at least 200px


			
			
			
Swipe me for at least 200 px

property: cancelThreshold

By setting the cancelThreshold you can set the minimum distance in px that the user needs to swipe back to cancel the current swipe, even if they have passed the main threshold

			
			
Swipe me for at least 200 px, then back 10px to cancel

property: maxTimeThreshold

By setting the maxTimeThreshold you can set the maximum time the user has to complete the swipe. A swipe LONGER than this is cancelled. This can be useful for ignoring long slow swipes.
Swipe in under 500ms

			
			
Swipe me within 1000 ms