1.0.1 • Published 3 years ago

@fotihose/tooltip v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

InputTypeDefaultDescription
arrowPositionstring-bottom / bottom-left / bottom-right / left / right / top-left / top / top-right / none
idstring-The id to use internally for the tooltip
minWidthnumber-The max width of the tooltip
showbooleanfalseProgrammatically show / hide the tooltip
textstring-The tooltip text content
widthnumber-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