NgDocTooltipDirective
Shows its content in a tooltip while the pointer rests on the host.
- Decorators
@Directive - Selectors
[ngDocTooltip ]- Implements
AfterViewInit OnDestroy
DeclarationTypeScript
@Directive ({ … })
export class NgDocTooltipDirective implements AfterViewInit , OnDestroy { … }Members
Properties18 | |
afterClose: | Emits when the tooltip has closed. |
afterOpen: | Emits when the open animation has finished. |
beforeClose: | Emits when the tooltip starts closing. |
beforeOpen: | Emits when the tooltip starts opening. |
canOpen: | Whether hovering opens the tooltip. |
content: | What the tooltip renders: a string, a template or a component. |
delay: | Milliseconds the pointer rests on the host before the tooltip opens. |
displayOrigin: | The element the tooltip points at; the host by default. |
height: | — |
maxHeight: | — |
maxWidth: | — |
minHeight: | — |
minWidth: | — |
overlayRef: | — |
panelClass: | — |
pointerOrigin: | The element whose hover opens the tooltip; the host by default. Read once, after the view. |
positions: | — |
width: | — |
Accessors1 | |
get isOpened: boolean | — |
Methods4 | |
(): void | — |
Signature Returns void | |
(): void | — |
Signature Returns void | |
(): void | — |
Signature Returns void | |
(): void | — |
Signature Returns void | |
No members match.