qtip2-jquery-rails
Gemified by Doc Walker
Provides the qTip2
jQuery plugin packaged for the Rails 3.1+ asset pipeline.
Installation
Add these lines to your application's Gemfile
:
# qtip2 jquery plugin packaged for the rails asset pipeline
gem 'qtip2-jquery-rails', '~> 2.1.1'
And then execute:
$ bundle
Or install it yourself as:
$ gem install qtip2-jquery-rails
Gem version notes:
- x.y.z version will track the
qTip2
plugin version; - It may contain a suffix to differentiate versions of the gem based on the same
qTip2
plugin version;
Usage
Add these lines to app/assets/javascripts/application.js
// provides speech bubble tips from gem 'qtip2-jquery-rails':
//= require qtip2-jquery-rails
Add these lines to app/assets/stylesheets/application.css
provides speech bubble tips from gem 'qtip2-jquery-rails':
= require qtip2-jquery-rails
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Acknowledgements
- qTip2 jQuery plugin -- tremendously useful plugin
- jquery-qtip2-rails (no longer maintained) -- benchmark
- RailsCast #245 New Gem with Bundler -- inspiration
- Gemify Assets for Rails -- guidance