jQuery MouseWheel Intent plugin for Rails
A ruby gem that uses the Rails asset pipeline to include the jQuery MouseWheel Intent plugin by trixta.
Installation
Add this line to your application's Gemfile:
gem 'mwheelintent-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mwheelintent-rails
NOTE: this is a jQuery plugin so you will also need the jquery-rails gem:
Usage
In your application.js you will need to add this line:
//= require jquery.mwheelintent
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
