blob: 0252ad5cb247a99201725fb86fcd5cc33c987018 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<ng-template #tooltipTemplate>
<p *ngIf="preHtmlTemplate">
<ng-template *ngTemplateOutlet="preHtmlTemplate"></ng-template>
</p>
<ng-container *ngIf="preHtmlTemplate && (customHtmlTemplate || mainHtml || postHtmlTemplate)">
<br /><br />
</ng-container>
<p *ngIf="customHtmlTemplate">
<ng-template *ngTemplateOutlet="customHtmlTemplate"></ng-template>
</p>
<p *ngIf="mainHtml" [innerHTML]="mainHtml"></p>
<ng-container *ngIf="(customHtmlTemplate || mainHtml) && postHtmlTemplate">
<br /><br />
</ng-container>
<p *ngIf="postHtmlTemplate">
<ng-template *ngTemplateOutlet="postHtmlTemplate"></ng-template>
</p>
</ng-template>
<button
class="help-tooltip-button p-0 border-0 mx-1"
[title]="title"
popoverClass="help-popover"
[attr.aria-pressed]="isPopoverOpened"
[ngbPopover]="tooltipTemplate"
[placement]="tooltipPlacement"
[autoClose]="autoClose"
(onHidden)="onPopoverHidden()"
(onShown)="onPopoverShown()"
>
<my-global-icon [iconName]="iconName"></my-global-icon>
</button>
|