Skip to content

RicardoDaSilvaSouza/touchy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 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);
$(elm).on('tapHold', callbackFunction);
// swipe
$(elm).on('swipe', function onSwipe(e, Dx, Dy){
	// ...
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.8%
  • HTML 26.2%