RadiantScroller plugin for Rails
A ruby gem that uses the Rails asset pipeline to include the Radiant Scroller plugin by Ilya Bodrov
(http://radiant-wind.com):
Installation
Add this line to your application's Gemfile:
gem 'jquery-radiantscroller-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jquery-radiantscroller-rails
NOTE: this is a jQuery plugin so you will also need the jquery-rails
gem:
If you want to enable mousewheel support for Radiant Scroller, you can include jQuery MouseWheel plugin by Brandon Aaron
(https://github.com/brandonaaron/jquery-mousewheel/). There is a gem jquery-mousewheel-rails
available:
Usage
In your application.js
you will need to add this line:
//= require jquery.radiantscroller
And in your application.css
you will need to add this line:
*= require jquery.radiantscroller
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
License
This plugin is licensed under the MIT License.
Copyright (c) 2014 Ilya Bodrov