1 repo
Unified interfaces that abstract away inconsistent touch and mouse event behaviors across different environments.
Distinguishing note: Focuses on the abstraction layer for cross-browser input consistency.
Explore 1 awesome GitHub repository matching user interface & experience · Cross-Browser Input Abstractions. 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
Provides a unified interface that abstracts away inconsistent touch and mouse event behaviors across different browsers and mobile operating systems.