<div @tooltip class="adf-tooltip-card" [style.width.px]="width"> <img [src]="image" [width]="width" alt="{{text}}"> <hr *ngIf="image"/> <p>{{text}}</p> </div>