tooltip/src/tooltip/tooltip.directive.ts
Tooltip provides an explanatory text which is displayed when the hosting element is hovered. By default the Tooltip is displayed below the hosting element (south). The preferred position can be changed (s. talenraTooltipPosition). If space is limited, position is adjusted automatically.
Example :<span talenraTooltip="Tooltip text">Hover me</span>import { TooltipDirective } from '@talenra/components/tooltip';
| Selector | [talenraTooltip] |
Inputs |
| position |
Type : TTooltipPosition
|
Default value : 'south', { alias: 'talenraTooltipPosition' }
|
|
The Tooltip's position relative to the hosting element ('north', 'east', …). Defaults to 'south'. Example :See TooltipPosition |
| text |
Type : string
|
Default value : '', { alias: 'talenraTooltip' }
|
|
Text displayed in Tooltip. Example : |