Answers for "ngfor iterate n times"

1

ngfor iterate n times

<ul>
	<li *ngFor="let number of [0,1,2,3,4]">{{number}}</li>
</ul>
Posted by: Guest on March-25-2021
1

ngfor set max number of times

*ngFor="let item of canforgensFeed | slice:0:10;"
Posted by: Guest on June-05-2020

Browse Popular Code Answers by Language