Scroll horizontally with mouse wheel.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
test
.editorconfig Update devDependencies. Use browserify instead gulp. Nov 18, 2016
.eslintrc
.gitignore
.npmrc
.travis.yml
LICENSE
README.md
bower.json
browserify.js
index.js
package.json

README.md

Horwheel

NPM version License Dependency status devDependency status downloads

Scroll horizontally with mouse wheel.

Installation

$ npm install horwheel

$ bower install horwheel

Also is available on cdnjs (coming soon)

  <script src="https://cdnjs.cloudflare.com/ajax/libs/horwheel/1.0.0/horwheel.min.js"></script>

Usage

First, require horwheel:

const horwheel = require('horwheel');

Then, define your wrapper:

const wrapper = document.querySelector('#wrapper');

Finally, execute horwheel function with wrapper parameter:

horwheel(wrapper);

Usage

Browser Support

  • Chrome (OS X, Windows)
  • Firefox (OS X, Windows)
  • Opera (OS X, Windows)
  • Safari (OS X, Windows)
  • IE10+

With ❤️ by

License

MIT license. Copyright © 2016.