How to check if mat-step is currently selected? Something like below:
<mat-step> <ng-template matStepLabel>Step 1</ng-template> <div class="card> <div *ngIf="isActiveStep">Active Step</div> <div *ngIf="!isActiveStep">Inactive Step</div> </div> </mat-step>
The number of steps are dynamic so I don't want to use index as part of the condition. Please help me on this.
2.1m questions
2.1m answers
60 comments
57.0k users