Answers for "Disable Mat Tab when it's inactive"

0

Disable Mat Tab when it's inactive

<mat-tab-group>
  <mat-tab #tab [disabled]='!tab.isActive' *ngFor="let subject of subjects" [label]="subject.name">
    {{ subject.name }}
  </mat-tab>
</mat-tab-group>
Posted by: Guest on May-08-2021

Browse Popular Code Answers by Language