Skip to content

timbaas/jquery.event.swipe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jquery.event.swipe

Dependencies

jQuery.event.move: stephband.info/jquery.event.move

One of swipeleft, swiperight, swipeup or swipedown is triggered on moveend, when the move has covered at least a threshold proportion of the dimension of the target node.

Swipe events are a thin wrapper around the moveend event, a convenience to reveal when a finger has made a swipe gesture. As such they don't bubble — they are retriggered on each passing of a moveend event. The underlying move events do bubble and delegate. Use them if you need more flexibility.

Demo and docs

stephband.info/jquery.event.swipe

About

jQuery custom events swipeleft, swiperight, swipeup and swipedown

Resources

Stars

Watchers

Forks

Packages

No packages published