# mattbryson/touchswipe-jquery-plugin

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/mattbryson-touchswipe-jquery-plugin).**

4,035 stars · 1,650 forks · JavaScript · other

## Links

- GitHub: https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
- Homepage: http://labs.rampinteractive.co.uk/touchSwipe/
- awesome-repositories: https://awesome-repositories.com/repository/mattbryson-touchswipe-jquery-plugin.md

## Description

This project is a jQuery plugin designed to detect and handle touch gestures on touch-enabled devices. It serves as a touch input handler and mobile gesture interface for identifying interactions such as swipes and pinches within a jQuery environment.

The library distinguishes intentional gestures from accidental movements through configurable distance and time thresholds. It includes mechanisms to manage input interference, allowing for the exclusion of specific interactive child elements and the locking of default browser behaviors like scrolling or zooming during an active gesture.

The system covers the implementation of touch-based navigation for web pages and provides tools for fine-tuning gesture sensitivity. It utilizes touch tracking and coordinate calculations to trigger application responses based on user movement.

## Tags

### User Interface & Experience

- [Touch Gesture Handlers](https://awesome-repositories.com/f/user-interface-experience/touch-gesture-handlers.md) — Provides a comprehensive handler for implementing swipe and pinch interactions on touch-screen devices.
- [Gesture Thresholding](https://awesome-repositories.com/f/user-interface-experience/coordinate-based-positioning/gesture-thresholding.md) — Validates intentional gestures by comparing movement distance and duration against configurable thresholds.
- [Touch Coordinate Deltas](https://awesome-repositories.com/f/user-interface-experience/touch-coordinate-deltas.md) — Implements coordinate delta calculations to determine the direction and magnitude of touch swipes.
- [Touch Gesture Detectors](https://awesome-repositories.com/f/user-interface-experience/touch-gesture-detectors.md) — Identifies specific touch interactions like swipes and pinches to trigger application responses. ([source](https://cdn.jsdelivr.net/gh/mattbryson/touchswipe-jquery-plugin@master/README.md))
- [Touch Event Processors](https://awesome-repositories.com/f/user-interface-experience/touch-gesture-handlers/touch-event-processors.md) — Provides low-level processing of native touch events to track start and end coordinates.
- [Interaction Locks](https://awesome-repositories.com/f/user-interface-experience/interactive-ui-elements/interaction-controllers/interaction-locks.md) — Prevents conflicting browser behaviors like scrolling or zooming while a touch gesture is being tracked.
- [Gesture Interference Prevention](https://awesome-repositories.com/f/user-interface-experience/navigation-scrolling-tools/scroll-interference-prevention/gesture-interference-prevention.md) — Excludes specific child elements from triggering gestures and toggles page scrolling or zooming during active swipes. ([source](https://cdn.jsdelivr.net/gh/mattbryson/touchswipe-jquery-plugin@master/README.md))
- [Gesture Trigger Configuration](https://awesome-repositories.com/f/user-interface-experience/touch-gesture-handlers/touch-event-processors/coordinate-to-translation-mapping/input-to-action-mappings/gesture-to-action-mappings/gesture-trigger-configuration.md) — Offers configuration for time and distance limits to differentiate fast swipes from slow drags. ([source](https://cdn.jsdelivr.net/gh/mattbryson/touchswipe-jquery-plugin@master/README.md))
- [Sensitivity Tuning](https://awesome-repositories.com/f/user-interface-experience/touch-gesture-handlers/touch-event-processors/sensitivity-tuning.md) — Allows fine-tuning of touch sensitivity and distance to distinguish intentional swipes from accidental drags.

### Mobile Development

- [Mobile Gesture Interactions](https://awesome-repositories.com/f/mobile-development/mobile-gesture-interactions.md) — Provides an interface for triggering application responses based on user swipes and multi-touch movements.
- [Mobile Web Navigation Menus](https://awesome-repositories.com/f/mobile-development/mobile-web-navigation-menus.md) — Enables the creation of touch-responsive navigation menus and galleries for mobile web browsers.

### Web Development

- [Touch Gesture Plugins](https://awesome-repositories.com/f/web-development/jquery-plugins/touch-gesture-plugins.md) — Acts as a jQuery plugin to add swipe, pinch, and touch interaction capabilities to web pages.
