I am a beginner when it comes to flex-layout and I'm currently facing an issue that I need help with. Here is the problem I am encountering:
https://github.com/angular/flex-layout
This is my ngFor loop:
<div fxLayout.xs="column">
<country fxFlex *ngFor="let country of countries" [country]="country"></country>
</div>
Here is the current result:
https://i.sstatic.net/p7LZJ.png
The challenge I am facing now is, what if I only want 3 countries in a row, meaning the last 'Germany' should move to the next row?
Do I have to create multiple fxLayout's to achieve this? Would I need one loop to determine the number of fxLayout's and another internal loop to display my country components (fxFlex items)? Thank you for your assistance in advance!