I want to create ngFor Loop without a div tag.
How is this possible?
My problem is that when I use div * ngFor, the slider is broken.
<ion-slides #secondSlider [options]="secondSlideOptions" (ionDidChange)="onSecondSlideChanged()">
<div *ngFor="let set of exercise.sets; let setNumber = index;">
<ion-slide>
...
</ion-slide>
<ion-slide>
...
</ion-slide>
</div>
</ion-slides>
Is there any other way to use ngFor without this div container?
Thank you so much!
source
share