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);
});
-
Notifications
You must be signed in to change notification settings - Fork 1
👉 super tiny touch helper 👈
lsongdev/finger.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
👉 super tiny touch helper 👈
Topics
Resources
Code of conduct
Security policy
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published