Directory

← Back

HammerGestures Add-on

Javascript extension that provides support for touch gestures

Author

Contributors

Rating

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.

Compatibility

0.11.02.0
(24)
(23)
(22)
(21)
(20)
(19)
(18)
(17)
(16)
(15)
(14)
(13)
(12)
(11)
(10)
8.0-8.10Y
7.7YY
7.6Y
(7.5)
(7.4)
(7.3)
(7.2)
(7.1)
(7.0)
(6.8)
(6.7)
(6.6)
(6.5)
(6.4)
(6.3)
(6.2)
(6.1)
(6.0)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

  • 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.
Released
2017-03-04
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 7.7+
Vaadin 7.6+ in 0.1
Vaadin 8.0+ in 2.0
Browser
Firefox
Safari
Google Chrome
iOS Browser
Android Browser
Internet Explorer

Vaadin Add-on Directory

Find open-source widgets, add-ons, themes, and integrations for your Vaadin application. Vaadin Add-on Directory
The channel for finding, promoting, and distributing Vaadin add-ons.
Online