var finger = new Finger('#view');
finger.on('tap', function(e){
console.log('tap', e);
});
finger.on('tap2', function(e){
console.log('double tap', e);
});
finger.on('move', function(e){
console.log('move', e);
});
finger.on('swipe', function(e){
console.log('swipe', e);
});
finger.on('pinch', function(e){
console.log('scale', e);
});
finger.on('rotate', function(){
console.log('rotate', e);
});
forked from lsongdev/finger.js
-
Notifications
You must be signed in to change notification settings - Fork 0
👉 super tiny touch helper 👈
myfe/finger.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
👉 super tiny touch helper 👈
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 79.8%
- HTML 20.2%