Skip to content

blackjk3/fake-pinch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Fake Pinch

When holding down the shift key fake pinch will intercept all touch move commands and trigger them with a mock two finger touch event. It does this by adding an extra object on the touches array that is passed with a normal touch move event.

$body.trigger({
	type: 'touchmove',
	originalEvent: {touches: touches},
	touches: touches
});

Fake pinch should work with jQuery or Zepto.

About

fake-pinch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors