lion/packages/tooltip
Thomas Allmer 89b835a799 feat: improved storybook demos
Co-authored-by: Joren Broekema <Joren.Broekema@ing.com>
Co-authored-by: Alex Ghiu <Alex.Ghiu@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2020-01-13 13:58:03 +01:00
..
src chore(tooltip): cleanup arrow 2019-12-17 09:16:37 +01:00
stories feat: improved storybook demos 2020-01-13 13:58:03 +01:00
test chore(tooltip): cleanup arrow 2019-12-17 09:16:37 +01:00
CHANGELOG.md chore: release new versions 2019-12-17 08:24:40 +00:00
index.js fix(tooltip): export LionTooltipArrow (#439) 2019-12-16 09:32:13 +01:00
lion-tooltip-arrow.js feat(tooltip): arrow 2019-12-13 15:19:41 +01:00
lion-tooltip.js feat: release inital public lion version 2019-04-26 10:37:57 +02:00
package.json feat: improved storybook demos 2020-01-13 13:58:03 +01:00
README.md feat: improved storybook demos 2020-01-13 13:58:03 +01: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>