Touch Gesture Support
Hammer.js is specifically designed to handle touch gestures, making it easier to implement complex multi-touch interactions like swipes, pinches, and rotations without relying on native touch events.
Lightweight
The library is relatively small in size, which means it won't significantly increase the load time or bandwidth usage of web applications.
Ease of Use
Hammer.js provides a simple API that abstracts away the complexity of different input types, allowing developers to add gesture support with minimal setup and code.
Cross-Platform Compatibility
Hammer.js is designed to work consistently across various platforms and devices, ensuring that touch interactions behave similarly on different browsers and operating systems.
We have collected here some useful links to help you find out if Hammer.js is good.
Check the traffic stats of Hammer.js on SimilarWeb. The key metrics to look for are: monthly visits, average visit duration, pages per visit, and traffic by country. Moreoever, check the traffic sources. For example "Direct" traffic is a good sign.
Check the "Domain Rating" of Hammer.js on Ahrefs. The domain rating is a measure of the strength of a website's backlink profile on a scale from 0 to 100. It shows the strength of Hammer.js's backlink profile compared to the other websites. In most cases a domain rating of 60+ is considered good and 70+ is considered very good.
Check the "Domain Authority" of Hammer.js on MOZ. A website's domain authority (DA) is a search engine ranking score that predicts how well a website will rank on search engine result pages (SERPs). It is based on a 100-point logarithmic scale, with higher scores corresponding to a greater likelihood of ranking. This is another useful metric to check if a website is good.
The latest comments about Hammer.js on Reddit. This can help you find out how popualr the product is and what people think about it.
Originally, I used HammerJS to allow the user to use their fingers to do this but I found it rather difficult to use two fingers and try to capture a photo of myself. Itโs a bit easier to simply hold my phone firmly and use the sliders to adjust. - Source: dev.to / over 1 year ago
Actually, I thought if I used hammerjs, it would be easy, but actually I gave up using that since it seemed that hammerjs's development wasn't active any more unfortunately. - Source: dev.to / almost 4 years ago
Looking at https://delassus.com/javascripts/app.js you can see they used hammer.js(https://hammerjs.github.io/) to achieve the gestures, which I am assuming is your focus here. Source: almost 5 years ago
Hammer.js is a library and gives you the ability to add touch gestures on websites. It means it can recognize & track gestures performed by the fingers and mouse of the user and make animations and all that cool stuff. And you can know the steps on their website here. Source: about 5 years ago
I had no idea how bad listening for things like key presses and dragging events are today. Given how nice and fairly standard a lot of the APIs across browsers and platforms have become, I was shocked at how rough this space is. I think if I had to do this again, this will be one area where I defer to a library (like hammer.js). - Source: dev.to / over 5 years ago
Maybe something using HammerJS would make it cleaner if you're using a vanilla solution right now? https://hammerjs.github.io/. Source: over 5 years ago
If you must make it a touchmove event try out hammer.js. Source: over 5 years ago
Do you know an article comparing Hammer.js to other products?
Suggest a link to a post with product alternatives.
Is Hammer.js good? This is an informative page that will help you find out. Moreover, you can review and discuss Hammer.js here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.