Skip to content

HubSpot/tooltip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

08fb6f8 · Jan 4, 2016
Jan 4, 2016
Sep 17, 2015
Jan 14, 2014
Jan 4, 2016
Jan 14, 2014
Jun 17, 2015
Jan 4, 2016
May 13, 2015
Jan 23, 2014
Sep 24, 2015
Jan 4, 2016
Jun 17, 2015
Jan 4, 2016

Repository files navigation

Tooltip

GitHub version

Tooltip.js is a Javascript and CSS library for creating styleable tooltips.

Install

Dependencies

Installing via npm and bower will bring in the above dependencies as well.

npm

$ npm install tether-tooltip

bower

$ bower install tether-tooltip

Usage

let tooltipInstance = new Tooltip({
  target: document.querySelector('.tooltip-target'),
  content: "My awesome <b>content</b>.",
  classes: 'tooltip-tether-arrows',
  position: 'top left'
})

API Documentation

Demo

Contributing

We encourage contributions of all kinds. If you would like to contribute in some way, please review our guidelines for contributing.

License

Copyright © 2015 HubSpot - MIT License