react-touch icon indicating copy to clipboard operation
react-touch copied to clipboard

Swipable additional options

Open lechup opened this issue 7 years ago • 0 comments

I want to prepare a PR which include two more options to Swipable config:

  • swipeDurationTreshold - time in which swipe need to be completed to actually fire, when not set we assume infinity
  • swipeMaxAxisDeviation - maximum Y (swipe Left/Right) or X(Bottom/UP) axis deviation in pixels that can be done while swiping to actually fire swipe event

Any thoughts how it should be prepared? Maybe You will have better naming suggestions. I guess I'll find some time next week.

lechup avatar May 11 '17 07:05 lechup