tipp
v1.0.5
Published
Tooltips that just work
Downloads
23
Readme
tipp
Tool tips that just work.
Features
- No jQuery
- No CSS to include
- Infinitely Customizeable
- Performant
- Auto-repositioning
- Orientations (top left, bottom, right)
Installation
npm install tipp
Usage
- 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'
})
License
MIT