Scroll horizontally with mouse wheel.
HTML JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
test Update horwheel function and remove older browser support. Dec 20, 2016
.editorconfig
.eslintrc
.gitignore Update devDependencies. Use browserify instead gulp. Nov 18, 2016
.npmrc Update devDependencies. Use browserify instead gulp. Nov 18, 2016
.travis.yml Update dependencies. Dec 13, 2016
LICENSE Working on v1.0.0 Jun 15, 2016
README.md Fix links. Dec 25, 2016
bower.json
browserify.js Add source maps. Nov 18, 2016
index.js
package.json Merge branch 'master' into greenkeeper/eslint-config-airbnb-base-11.0.1 Feb 15, 2017

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.