Skip to content

The SimpleBar Javascript library for the Rails asset pipeline.

License

Notifications You must be signed in to change notification settings

thutterer/simplebar-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplebar-rails

simplebar-rails wraps the SimpleBar library in a Rails engine for simple use with the asset pipeline provided by Rails 3.1 and higher.

Installation

Add this line to your application's Gemfile:

gem 'simplebar-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install simplebar-rails

Usage

Add the following directive to your application.js:

//= require simplebar

Add the following directive to your application.css:

*= require simplebar

Contributing

Bug reports and pull requests regarding Simplebar itself should go to https://github.com/Grsmto/simplebar. If you find an issue with how this gem works, report it here: https://github.com/thutterer/simplebar-rails.

License

The gem is available as open source under the terms of the MIT License.