Using Extra Parameter In Ngswitchcase
First of all, want to emphasize that I had already have a look at many pages e.g. Two switch case values in angular but they cannot fix my problem. I have the following approach i
Solution 1:
Create another ng-container
inside with the loading
condition.
<ng-container [ngSwitch]="i">
<ng-container *ngSwitchCase="0">
<ng-container *ngIf="loading">
// do stuff
</ng-container>
</ng-container>
</ng-container>
Post a Comment for "Using Extra Parameter In Ngswitchcase"