lyfeyaj / swipe

Swipe is the most accurate touch slider. Support both React and Angular.

Home Page:https://swipe.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A few suggestions

webbby opened this issue · comments

Hey good job with the lib.
May I suggest a few relatively easy features.

  1. Could you add to dragStart, dragEnd event callbacks a direction arg
  2. Also disableRight and disableLeft methods which disable movement in one of the directions

In my case I don't want a user to be able to progress right until conditions are met so that would be very helpful feature.

Thank you for your time BR

PR is welcome 😄