jQuery

【jQuery】水平に横スワイプイベントtwoFingersSwipe

May 3, 2018
twoFingersSwipe

twoFingersSwipeは水平に横スワイプできる

Usage

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

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

MIT