🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

tooltipster-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tooltipster-rails

4.2.7
Rubygems
Version published
Maintainers
1
Created
Source

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

  • 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

FAQs

Package last updated on 06 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts