CSS tooltips built on Tether
npm install tether-tooltip
Tooltip.js is a Javascript and CSS library for creating styleable tooltips.
__Dependencies__
Installing via npm and bower will bring in the above dependencies as well.
__npm__
``sh`
$ npm install tether-tooltip
__bower__
`sh`
$ bower install tether-tooltip
`javascript``
let tooltipInstance = new Tooltip({
target: document.querySelector('.tooltip-target'),
content: "My awesome content.",
classes: 'tooltip-tether-arrows',
position: 'top left'
})
We encourage contributions of all kinds. If you would like to contribute in some way, please review our guidelines for contributing.