Tool tips that just work.
- No jQuery
- No CSS to include
- Infinitely Customizable
- Performant
- Auto-repositioning
- Orientations (top left, bottom, right)
npm install tipp
- Using HTML attributes:
Markup:
<button tooltip="YOLO!" tooltip-orientation="top" tooltip-class="simple">Buy Now</button>
Initialize:
tipp()
- Using the API
Initialize:
tipp(button, 'YOLO!', {
orientation: 'top',
class: 'simple'
})
MIT