mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-4879 Update tooltip card to receive custom HTML (#6930)
This commit is contained in:
committed by
GitHub
parent
e9bf84e13c
commit
684cdb88ea
@@ -1,5 +1,6 @@
|
||||
<div @tooltip class="adf-tooltip-card" [style.width.px]="width">
|
||||
<img [src]="image" [width]="width" alt="{{text}}">
|
||||
<hr *ngIf="image"/>
|
||||
<p>{{text}}</p>
|
||||
<img *ngIf="image " [src]="image" [width]="width" alt="{{text}}">
|
||||
<hr *ngIf="image" />
|
||||
<p *ngIf="text">{{text}}</p>
|
||||
<div *ngIf="htmlContent" [innerHTML]="sanitizedHtmlContent()" class="adf-tooltip-card-content"></div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user