1.0.5 • Published 9 years ago

tipp v1.0.5

Weekly downloads
20
License
-
Repository
github
Last release
9 years ago

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

  1. Using HTML attributes:

Markup:

<button tooltip="YOLO!" tooltip-orientation="top" tooltip-class="simple">Buy Now</button>

Initialize:

tipp()
  1. Using the API

Initialize:

tipp(button, 'YOLO!', {
  orientation: 'top',
  class: 'simple'
})

License

MIT