I told you, homeboy / You CAN touch this / Yeah, that's how we living and you know / You CAN touch this
(Psst, a new Hammer version is in the making, get involved!)
- Under 3kb minified and gzipped!
- Detects Tap, DoubleTap, Swipe, Drag, Pinch, and Rotate gestures
- Triggers DOM Events, so works with almost every event-listener.
- Debug plugins to emulate multitouch on desktop and make them visible.
- Easy to build your own custom gestures.
- Chainable instance methods
- AMD/CommonJS support
- Unit tests
- Option to disable mouse support, so only for touch and pen input.
- Sourcemaps
- Highly configurable
- jQuery plugin available here
See the Wiki on GitHub for documentation.
Developed by Jorik Tangelder in his spare time and at Eight Media in Arnhem, the Netherlands.
It's recommended to listen to this loop while using hammer.js.