infotip/src/directives/infotip.directive.ts
Directive to add infotip behavior to a host element (e.g. close the infotip on escape key press).
<h1 class="title">Infotip title</h1>
<p class="description">Infotip content with custom layout</p>import { Component } from '@angular/core';
import { InfotipDirective } from '@talenra/components/infotip';
@Component({
...
hostDirectives: [InfotipDirective],
})
export class CustomInfotipComponent {}| Selector | [talenraInfotip] |
| HostDirectives |
CdkMenu
|