Skip to content

visioncan/touchEvent.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

touchEvent for iOS events

###Methods:

  • onSwipeLeft : function()
  • onSwipeRight : function()
  • onSwipeUp : function()
  • onSwipeDown : function()
  • onGestureEnd : function()
  • onPinchOpen : function(scale)
  • onPinchClose : function(scale)
  • onRotated : function(rotation)
  • onGesture : function(e)

###Usage: <script type="text/javascript" src="../src/touchEvent.js"></script>

var event = new touchEvent("body");
event.onGesture(function(e){
	//do something;
});

About

touchEvent for iOS events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published