jquery.tooltips

Facebook-style tooltip plugin for jQuery

Usage no npm install needed!

<script type="module">
  import jqueryTooltips from 'https://cdn.skypack.dev/jquery.tooltips';
</script>

README

jQuery Tooltips

Facebook-style tooltip plugin for jQuery

Description

This is a fork of tipsy by Jason Frame.

This fork includes:

  • npm support for Webpack
  • Bower support
  • SASS-based stylesheet
  • Cleaner schematic markup and class naming conventions
  • More sane defaults

Installation

npm

npm install jquery.tooltips --save

Yarn

yarn add jquery.tooltips

Bower

bower install jquery.tooltips

Usage

$(function() {
    $('[data-toggle=tooltip]').tooltip();
    $('[data-toggle=tooltip-s]').tooltip({gravity: 'n'});
    $('[data-toggle=tooltip-w]').tooltip({gravity: 'e'});
    $('[data-toggle=tooltip-e]').tooltip({gravity: 'w'});
});

Additional Information

Additional information including documentation can be found in the original tipsy repository found here.

License

This fork is released under the original tipsy MIT license and is copyright Jason Frame. I take no credit for this source code, and would like to give a special thank you to Jason for creating an easy to use, minimalistic, lightweight tooltip plugin.