Scroll horizontally with mouse wheel.
$ 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>
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);
- Chrome (OS X, Windows)
- Firefox (OS X, Windows)
- Opera (OS X, Windows)
- Safari (OS X, Windows)
- IE10+
- Guille Paz (Frontend developer | Web standards lover)
- E-mail: guille87paz@gmail.com
- Twitter: @pazguille
- Web: https://pazguille.me
MIT license. Copyright © 2016.