Header banner
Revain logoHome Page
Jeremy Meza photo
1 Level
1281 Review
64 Karma

Review on Hammer.JS by Jeremy Meza

Revainrating 4 out of 5

Hammer.JS - Easy way introduce simple gestures

The ease of which you can add gesture support, even if it's just for clicks (or right-clicks).The flexibility with how to implement it -- whether that be by using native code or via JS libraries like hammerjs! There are some issues with detecting mouse movements at times but I don't think this is an inherent issue so much as specific use cases where things aren't exactly working out correctly. If there was more documentation around handling situations when events occur outside of what appears intuitively possible/expected, then maybe all would work well together without any problem solving required from developers. Adding new types of UI controls quickly becomes tedious in JavaScript alone due to lack of built-in functionality available through existing frameworks such as jQueryUI / Bootstrap etc. So adding clickable draggables allows us to do these tasks easily within our own website rather than having to rely upon third party solutions which take time getting used to. It is easy enough for anyone with basic knowledge of JS, HTML & CSS to get started using it without too much hassle. I dislike how you can't add any other libraries or frameworks if they are not supported by Hammer.js. The documentation isn't very clear either so it's hard to figure out what features work in which situation. If you know anything about Javascript then this library will be no problem at all. You don't have to learn a new framework/library just because you want to make mobile apps.

img 1 attached to Hammer.JS review by Jeremy Meza



Pros
  • Gesture recognition works great.
  • Easy integration into websites
  • Can create custom gestures.
  • Supports touchscreens along wth mice&keyboards
Cons
  • Documentation could definitely improve