@fotihose/tooltip
v1.0.1
Published
A simple tooltip
Downloads
2
Readme
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