lion/packages/tooltip
2020-05-18 12:53:13 +02:00
..
src fix(tooltip): tooltip display inline-block 2020-05-18 12:53:13 +02:00
stories feat(tooltip): simplified tooltip component by making arrow a template 2020-05-18 12:53:04 +02:00
test feat(tooltip): simplified tooltip component by making arrow a template 2020-05-18 12:53:04 +02:00
CHANGELOG.md chore: release new versions 2020-05-06 15:22:51 +00:00
index.js feat(tooltip): simplified tooltip component by making arrow a template 2020-05-18 12:53:04 +02:00
lion-tooltip.js feat: release inital public lion version 2019-04-26 10:37:57 +02:00
package.json chore: release new versions 2020-05-06 15:22:51 +00:00
README.md chore: remove pilot phase header 2020-04-29 10:05:06 +02:00

Tooltip

lion-tooltip is a component used for basic popups on hover. Its purpose is to show content appearing when the user hovers over an invoker element with the cursor or with the keyboard, or if the invoker element is focused.

Live Demo/Documentation

See our storybook for a live demo and API documentation

How to use

Installation

npm i --save @lion/tooltip
import '@lion/tooltip/lion-tooltip.js';

Example

<lion-tooltip>
  <button slot="invoker">Hover me</button>
  <div slot="content">This is a tooltip<div>
</lion-tooltip>