I am trying to add a new line in the matToolTip attribute in Angular app , but its not reflecting in the output .
<mat-cell *matCellDef="let row"> <div style="min-width: 100px;">{{row.Status}} </div>
<div *ngIf="row.Date!=null" style="margin-left: 70px;"><mat-icon [matTooltip]="'Date/Time: ' + row.Date + '\n' + '\nVersion: ' + row.Version" >info</mat-icon>
</div>
</mat-cell>
Can anyone help on why \n is not producing a new line in the tooltip section ?
TIA
` or some CSS – Liam Sep 14 '21 at 10:21