/swipe-nav

swipe-to-navigate component in plain ES6

Primary LanguageJavaScriptMIT LicenseMIT

Swipe-Nav

Swipe-to-navigate component in plain ES6, inspired by Swipe.

Demo.

Features

  • plain ES6
  • mobile friendly (requestAnimationFrame, performance)
  • minimal (no non-touch fallbacks)
  • animation callbacks with access to swipe position
  • low level API (use React or Angular to build real components)

Licence

MIT, see LICENSE.md