Skip to content

yairEO/touchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adds jQuery special events: (double) tap / swipe

This will add support for these events: Tap, Double Tap and Swipe (vertical and horizontal).

A test page is included.

How to use:

$(elm).on('tap', callbackFunction);
$(elm).on('doubleTap', callbackFunction);
// swipe
$(elm).on('swipe', function onSwipe(e, Dx, Dy){
	// ...
});

Releases

No releases published

Packages

No packages published