Swipe Listener Versions Save

Zero-dependency, minimal swipe-gesture listener for the web.

v1.3.0

3 years ago
  • preventScroll option can also be a function that returns a boolean (#33)[https://github.com/umanghome/swipe-listener/pull/33]

v1.2.0

3 years ago
  • Add event.detail.target (#28)

v1.1.0

4 years ago
  • main in package.json refers to dist/swipe-listener.min.js instead of index.js. Transpiled version would be served directly.
  • Added options mouse and touch to allow setting which input source swipes should be listened for.
  • Updated package-lock.json.
  • Added sanity checks for TouchEvent. Library should start working on IE and Edge.
  • Exports default for ES6 imports.