jQuery touch swipe

Component ID

2045643

Component name

jQuery touch swipe

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

2716

Component created

Component changed

Component body

This module brings the JQuery Touch Swipe mobile events library to Drupal , works also with custom profiles, and allows to enable jQuery touch Swipe on specific pages.
Jquery Touch Swipe is MIT licensed so you'll need to download the library independently of this project.
--
INSTALLATION:
Unzip the package, rename it jquery_touch_swipe and place it in your libraries directory. Example of correct path:(libraries/jquery_touch_swipe/jquery.touchSwipe.js).
The module depends on libraries API (Version >= 2.0)
--
Some functionalities Jquery Touch Swipe provides:

  • 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 determine 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

TODO:

  • Enable the library for specific roles
  • Enable the use of path aliases in the admin form
  • Integration with the flag module