I want to use pagination in this case. Is it even possible ?
- 1Hi Edi, welcome to stack overflow. Why not? Are you getting some error? NgFor can be used any number of times you want. Also please never post an image of your code. Include the relevant part of it on you question surrounded by triple backticks: ```Elias Soares– Elias Soares2022-04-27 02:40:01 +00:00Commented Apr 27, 2022 at 2:40
Add a comment |
1 Answer
u can use this construction:
<ng-container *ngFor=""> <ng-container *ngFor=""> </ng-container> </ng-container> 2 Comments
Edi Mustanski
But i can't but <app-item> in <ng-container> . I've tried few constructions with ng-container but still not working properly. Does not limit ads to 6 per pange. They became x2 or even x3.
Никита Середа
@EdiMustanski u asked how to use ngFor twice, ng-container allow this without any html. so fix logic