'How do you set style bindings on a mat-tab?
Here is what I'm doing:
<mat-tab-group>
<mat-tab *ngFor="let tab of this.reportTabbedSections" [style.color]="tab.amountOfData > 0 ? 'blue' : 'red'" [label]="tab.title">
Test
</mat-tab>
</mat-tab-group>
But the tab label is not changing color based on the amountOfData, and instead is just staying white.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
