Info
Version: | 1.6.15 |
Author(s): | Matt Bryson |
Last Update: | Thursday, February 11, 2016 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/mattbryson/TouchSwipe-Jquery-Plugin/ |
NuGet Url: | https://www.nuget.org/packages/jquery-touchswipe |
Install
Install-Package jquery-touchswipe
dotnet add package jquery-touchswipe
paket add jquery-touchswipe
jquery-touchswipe Download (Unzip the "nupkg" after downloading)
Dependencies
- jQuery(>= 1.8.2)
Tags
Detects single and multiple finger swipes, pinches and falls back to mouse 'drags' on the desktop.
Time and distance thresholds can be set to distinguish between swipe gesture and slow drag.
Allows exclusion of child elements (interactive elements) as well allowing page scrolling or page zooming depending on configuration.
- Detects swipes in 4 directions, "up", "down", "left" and "right"
- Detects pinches "in" and "out"
- Supports single finger or double finger touch events
- Supports click events both on the touchSwipe object and its child objects
- Definable threshold / maxTimeThreshold to determin when a gesture is actually a swipe
- Events triggered for swipe "start","move","end" and "cancel"
- End event can be triggered either on touch release, or as soon as threshold is met
- Allows swiping and page scrolling
- Disables user input elements (Button, form, text etc) from triggering swipes.