No commit activity in last 3 years
No release in over 3 years
Rails 3.1+ Asset Gem for Tooltipster
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

Tooltipster::Rails

tooltipster-rails allows easy use of Tooltipster with Rails and the asset pipeline.

Installation

Add this line to your application's Gemfile:

gem 'tooltipster-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tooltipster-rails

Usage

In your application.js, require one of the following JavaScript files:

//= require tooltipster.bundle
//= require tooltipster.bundle.min
//= require tooltipster.main
//= require tooltipster.main.min

In your application.css, include one of the following CSS files:

*= require tooltipster.bundle
*= require tooltipster.bundle.min
*= require tooltipster.main
*= require tooltipster.main.min

If you want to use one of the included themes, include that in your application.css as well. Here's an example:

*= require tooltipster.bundle.min
*= require plugins/tooltipster/sideTip/themes/tooltipster-sideTip-light.min

Check out the Tooltipster docs for more extensive usage instructions.

Important: If you are using bootstrap you might have conflicts with the class "tooltip". It can be easily fix commenting out bootstrap/tooltip component.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request