https://github.com/mshamaseen/pointers
a flexible open-source library that can recognize gestures made by touch, mouse, and pointer-events.
https://github.com/mshamaseen/pointers
events gesture-recognition gestures jquery jquery-events js mousedown mouseevent pan pointers press tap touchdown touchevent
Last synced: about 1 month ago
JSON representation
a flexible open-source library that can recognize gestures made by touch, mouse, and pointer-events.
- Host: GitHub
- URL: https://github.com/mshamaseen/pointers
- Owner: mshamaseen
- Created: 2021-06-23T18:13:42.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-28T13:57:31.000Z (almost 5 years ago)
- Last Synced: 2026-04-07T12:05:21.914Z (2 months ago)
- Topics: events, gesture-recognition, gestures, jquery, jquery-events, js, mousedown, mouseevent, pan, pointers, press, tap, touchdown, touchevent
- Language: JavaScript
- Homepage:
- Size: 5.14 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pointers
is a open-source library that can recognize gestures made by touch, mouse and pointerEvents.
## QuickStart
If you know how to use JQuery, then you already know how to use Pointers!
```javascript
$p('YourSelector').on('tap nthtap:2 press press:up pan:start.namespace pan:end.namespace pan.namespace',function(){
console.info('Hey! You just trigger the handler!');
})
```
### documentation
For in-details use referer to the [documentation](https://pointers.readthedocs.io/en/latest/)
### License
This package is a free software Licensed under the MIT License.