@fotihose/tooltip
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Tooltip

This component is part of the Fotihose network, which is a network of standalone components.

Description

A simple loading indicator using svg.

Installation

npm i @fotihose/tooltip -S

Usage

  <fih-tooltip id="my-id" arrowPosition="top" text="It's me, the tooltip"></fih-tooltip>

Inputs

Input Type Default Description
arrowPosition string - bottom / bottom-left / bottom-right / left / right / top-left / top / top-right / none
id string - The id to use internally for the tooltip
minWidth number - The max width of the tooltip
show boolean false Programmatically show / hide the tooltip
text string - The tooltip text content
width number - The width of the tooltip

Outputs

No outputs

TODO

  • Support style changes

License

MIT

Change log

1.0.1

  • Support Angular 8-12

1.0.0

  • First release

Package Sidebar

Install

npm i @fotihose/tooltip

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

106 kB

Total Files

23

Last publish

Collaborators

  • terjeballestad
  • erichjsonfosse
  • andreaslarssen