Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lsongdev/finger.js
:point_right: super tiny touch helper :point_left:
https://github.com/lsongdev/finger.js
gesture-recognition mobile touch-events touchscreen
Last synced: 3 days ago
JSON representation
:point_right: super tiny touch helper :point_left:
- Host: GitHub
- URL: https://github.com/lsongdev/finger.js
- Owner: lsongdev
- Created: 2016-10-17T13:40:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-09T09:29:21.000Z (over 4 years ago)
- Last Synced: 2024-12-31T10:05:23.574Z (5 days ago)
- Topics: gesture-recognition, mobile, touch-events, touchscreen
- Language: JavaScript
- Homepage: http://lsong.org/finger.js
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Finger.js
```js
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);
});
```