2018-03-03
1.0.0
Justin Babel
All
All
Components, Widgets, Libraries, Plug-ins
[Overview]
Custom touch events uses Hammer.JS to handle tap and press events customized by you based on inputs to the event handlers. For example, detecting x amount of taps on an object, detecting a long press of over x amount of seconds, etc. Wraps: http://hammerjs.github.io/
[Detail]
**Must include public 'Hammer.JS' script from espace 'CustomTouchEvents' in order for the event handler blocks to work**
Custom touch events uses Hammer.JS to handle tap and press events customized by you based on inputs to the event handlers. For example, detecting x amount of taps on an object, detecting a long press of over x amount of seconds, etc.
Hammer is an open-source library that can recognize gestures made by touch, mouse and pointerEvents. It has support for multiple instances the same time, so you can start creating multi-user touch interfaces. Hammer doesn't have any dependencies, and it's small, only 3.7 kB minified + gzipped! http://hammerjs.github.io/