is a open-source library that can recognize gestures made by touch, mouse and pointerEvents.
If you know how to use JQuery, then you already know how to use Pointers!
$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!');
})
For in-details use referer to the documentation
This package is a free software Licensed under the MIT License.