Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 470 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 470 Bytes

jQuery-MobileSwipe

Options

  • threshold Object (default: {x:50, y: 20}) - to set the touch tolerance on each axis. X-value for minimum, y-value is the allowed maximum.
  • preventEvents Boolean (default: true) - should default browser events like scrolling disabled, if touch detected
  • swipeLeft Function (default: empty) - callback function for swipe to left
  • swipeRight Function (default: empty) - callback function for swipe to right