0.2.6 • Published 8 years ago

@custom-element/tooltip v0.2.6

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Tooltip

Material Design Spec Tooltips are text labels that appear when the user hovers over, focuses on, or touches an element.

Installation

Just add the following script(< 2kb gzipped/polyfill in it) to your website. It will add CSS only once if required.

<script defer src="https://unpkg.com/@custom-element/tooltip"></script>

For npm users

$ npm install @custom-element/tooltip --save-dev

import '@custom-element/tooltip'; // import and use it

Example

  <a-button class="raised">
    <a-tooltip>This is a tooltip for a button</a-tooltip>
    Mouse
  </a-button> 
0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago