我是flex-layout的新手,无法修复以下内容:
https://github.com/angular/flex-layout
我的ngFor:
<div fxLayout.xs="column">
<country fxFlex *ngFor="let country of countries" [country]="country"></country>
</div>
Run Code Online (Sandbox Code Playgroud)
结果:
如果我只想连续3个国家,换句话说,如果我想让最后一个'德国'成为下一行怎么办?
这只能通过创建多个fxLayout来实现吗?我指的是2个循环,1表示创建fxLayout的数量,另一个内循环表示我的国家组件(fxFlex项目).提前致谢!