kątowy warunkowo pokazuj podpowiedź
<td mat-cell *matCellDef="let food" [matTooltip]="food.name" [matTooltipDisabled]="!(food.name.length > 10)">
Banana in Transit
<td mat-cell *matCellDef="let food" [matTooltip]="food.name" [matTooltipDisabled]="!(food.name.length > 10)">
{{charge.offenseDate ? (charge.offenseDate | date) : 'No date'}}
<button [matTooltip]="1=1?'show this text':'else this text'">
conditional tool tip
</button>