HammerGestures Add-on | Vaadin

Javascript extension that provides support for touch gestures

Javascript extension that provides support for touch gestures. The implementation uses the Hammer.js library to recognise gestures. The supported gestures are pan, swipe, pinch and rotate. The purpose of the add-on is to provide a Hammer-like api on the server side, as well as integration with Vaadin components. The extension allows the developer the extend any Vaadin component and by that allow the developer add/remove gesture recognisers to the component and listening for gesture events from it.

See the demo on the add-on's Github page for an example on how the add-on is used.

Multi-touch events are emulated in desktop browsers. See the Hammer.js page for more info browser compatibility.


Link to this version
BetaReleased 04 March 2017Apache License 2.0MIT License
Framework Support
Vaadin 8.0+
Also supported:
Vaadin 7 (1.0)
Browser Compatibility
Install with
Release notes - Version 2.0
  • Made the add-on Vaadin 8.0 compatible
  • Made touch emulation optional on desktop browsers. Note that multitouch gestures will not work on desktop browsers without it. Pan and swipe will work fine though.