By default, JavaScript includes a pretty basic set of tools for working with click and mouse events in its very own core.
Unfortunately the same thing is not implemented for touch gestures, mainly because they were not mainstream technology back in the day when JavaScript was being created and established.
The jQuery Fingers plugin adds support for detecting when touch gestures occur, and a set of tools to detect what kind of touch gesture has happened.
Some basic touch gestures are supported by default with jQuery Fingers' source, and new ones can also be easily added, based on the projects requirements to support.
The plugin's source is written in CoffeeScript and comes with this default set of detectable gestures:
Pull up
Pull down
Pull right
Pull left
Tapped
Held
Requirements:
- JavaScript enabled on client side
- jQuery 1.7 or higher
Comments not found