Skip to content

BR0kEN-/twoFingersSwipe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twoFingersSwipe

Catch horizontal scrolling and fire custom event - twoFingersSwipe. Check out the demonstration.

Usage

jQuery('.selector').bind('twoFingersSwipe', function (event, direction) {
  switch (direction) {
    case 'left':
      // Do something.
      break;

    case 'right':
      // Do something.
      break;
  }
})

Releases

No releases published

Packages

No packages published