Skip to content

lhorie/swipe.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

swipe.js

jQuery swipe events for browsers w/ touch event support.

  • Currently it's just a quick dirty script that handles one-finger swipe events
  • Currently doesn't support method shorthands (i.e. .click())
  • Currently doesn't pass any additional data to the event object

API

swipeleft, swiperight, swipeup, swipedown

$(document).on("swipeleft swiperight swipeup swipedown", function() {
	alert("swiped")
})

About

Swipe events for browsers w/ touch event support

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors