Zero-dependency, minimal swipe-gesture listener for the web.
preventScroll
option can also be a function that returns a boolean (#33)[https://github.com/umanghome/swipe-listener/pull/33]main
in package.json
refers to dist/swipe-listener.min.js
instead of index.js
. Transpiled version would be served directly.mouse
and touch
to allow setting which input source swipes should be listened for.package-lock.json
.TouchEvent
. Library should start working on IE and Edge.default
for ES6 imports.