Hello, I tried to combine switch and ngfor. I’ve tried but it doesn’t allow 2 property in one dom. Is there anyway arround to make it works? This’s the code…
<div [ngSwitch]="page" >
<ion-grid *ngFor="let data of dataRes" *ngSwitchCase="'{{data.nama}}'">
</ion-grid>
</div>
Thanks…