Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thutterer/simplebar-rails
The SimpleBar Javascript library for the Rails asset pipeline.
https://github.com/thutterer/simplebar-rails
rails rails-asset-pipeline scrollbar scrolling
Last synced: 6 days ago
JSON representation
The SimpleBar Javascript library for the Rails asset pipeline.
- Host: GitHub
- URL: https://github.com/thutterer/simplebar-rails
- Owner: thutterer
- License: mit
- Created: 2017-08-04T13:54:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-12T12:20:52.000Z (over 6 years ago)
- Last Synced: 2024-12-08T00:10:17.006Z (16 days ago)
- Topics: rails, rails-asset-pipeline, scrollbar, scrolling
- Language: Ruby
- Homepage: https://rubygems.org/gems/simplebar-rails
- Size: 51.8 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# simplebar-rails
simplebar-rails wraps the [SimpleBar](https://github.com/Grsmto/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:
```ruby
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](http://opensource.org/licenses/MIT).