]>
Commit | Line | Data |
---|---|---|
1 | <ng-template #tooltipTemplate> | |
2 | <ng-template [ngIf]="preHtml"> | |
3 | <p [innerHTML]="preHtml"></p> | |
4 | <br /> | |
5 | </ng-template> | |
6 | ||
7 | <p [innerHTML]="mainHtml"></p> | |
8 | ||
9 | <ng-template [ngIf]="postHtml"> | |
10 | <br /> | |
11 | <p [innerHTML]="postHtml"></p> | |
12 | </ng-template> | |
13 | </ng-template> | |
14 | ||
15 | <button | |
16 | class="help-tooltip-button" containerClass="help-tooltip" title="Click to get help" | |
17 | #tooltipDirective="bs-tooltip" [tooltip]="tooltipTemplate" triggers="click" | |
18 | ></button> |