1 repo
Utilities that standardize touch and pointer event handling across different browsers and hardware platforms.
Distinguishing note: Focuses on cross-platform and cross-browser consistency for input events.
Explore 1 awesome GitHub repository matching user interface & experience · Cross-Device Input Handlers. Refine with filters or upvote what's useful.
Hammer.js is a library for recognizing touch gestures in web applications. It functions as a unified interface that translates raw pointer, mouse, and touch inputs into a consistent stream of interaction data, allowing developers to detect patterns such as taps, swipes, and pans across different browsers and hardware. The library distinguishes itself through a modular architecture that uses configurable logic blocks to evaluate input streams against specific mathematical thresholds. It maintains an internal registry of active touch points to track complex multi-finger movements like pinching
Standardizes touch and pointer event handling across different browsers and hardware to ensure consistent behavior for all users.