Vue2 Hammer screenshot

Vue2 Hammer

Author Avatar Theme by Bsdfzzzy
Updated: 5 Nov 2018
253 Stars

Hammer.js wrapper for Vue 2.x to support some touching operation in the mobile.

Overview

Vue-Hammer is a powerful directive wrapper for Hammer.js that integrates seamlessly with Vue.js, particularly for mobile operations. Designed as an efficient tool for developers, it paves the way for smooth touch interactions in applications, making it a great choice for those looking to enhance user experience on mobile devices. With support for various gestures and directions, this plugin simplifies the complexities of touch event handling.

Features

  • Easy Integration: Works flawlessly with Vue versions 2.0 and above, allowing easy incorporation into existing projects.
  • Custom Gesture Recognition: Supports a range of gestures including tap, pan, pinch, press, rotate, and swipe, ensuring robust touch event handling.
  • Configurable Options: Offers flexible configuration of recognizer options such as direction and threshold, providing developers with the ability to tailor functions to their needs.
  • Specific Gesture Directions: Users can specify directions for gestures (up, down, left, right, etc.), making it intuitive to understand and implement.
  • Simple Installation: Available through npm as vue2-hammer, enabling quick and hassle-free installation in your project.
  • Comprehensive Documentation: Detailed guidance is available for configuring options and understanding supported gestures, ensuring users have the resources they need.
  • MIT License: Open-source licensing encourages collaboration and modifications, making it accessible for a wide range of projects.