项目作者: thutterer

项目描述 :
The SimpleBar Javascript library for the Rails asset pipeline.
高级语言: Ruby
项目地址: git://github.com/thutterer/simplebar-rails.git
创建时间: 2017-08-04T13:54:55Z
项目社区:https://github.com/thutterer/simplebar-rails

开源协议:MIT License

下载


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:

  1. gem 'simplebar-rails'

And then execute:

  1. $ bundle

Or install it yourself as:

  1. $ gem install simplebar-rails

Usage

Add the following directive to your application.js:

  1. //= require simplebar

Add the following directive to your application.css:

  1. *= 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.