Event handler for pinch related events.
The original event object
The direction the user swiped in.
The distance the user swiped.
The duration of the swipe in milliseconds.
The number of fingers used.
The zoom/scale level the user pinched too, 0-1.
The current direction the user is swiping.
Event handler for pinch related events during a certain phase.
The original event object
The phase of the swipe event.
The direction the user swiped in.
The distance the user swiped.
The duration of the swipe in milliseconds.
The number of fingers used.
The zoom/scale level the user pinched too, 0-1.
The current direction the user is swiping.
Event handler for pointer related events.
The original event object
The element clicked on.
Event handler for swipe related events.
The original event object
The direction the user swiped in.
The distance the user swiped.
The duration of the swipe in milliseconds.
The number of fingers used.
The coordinates of fingers in event.
The current direction the user is swiping.
Event handler for swipe related events during a certain phase.
The original event object
The phase of the swipe event.
The direction the user swiped in.
The distance the user swiped.
The duration of the swipe in milliseconds.
The number of fingers used.
The coordinates of fingers in event.
The current direction the user is swiping.
Generated using TypeDoc
Namespace for the rangy TouchSwipe plugin.
Contains some additional types and interfaces required for the typings.
A jQuery plugin to be used on touch devices such as iPad, iPhone, Android etc.
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.
See https://github.com/mattbryson/TouchSwipe-Jquery-Plugin.