How to replicate normal for loop to *ngFor

前端 未结 3 1085
隐瞒了意图╮
隐瞒了意图╮ 2021-01-29 13:34
rating = 4;
for(i=0; i < rating ; i++){ 
//print statement
}

how to replicate the same for loop with conditions in angular 6 using *ngFor

th

3条回答
提交回复
热议问题