How to iterate object keys using *ngFor?

后端 未结 5 602
温柔的废话
温柔的废话 2020-11-27 20:46

I\'ve been digging around, and found out that I can use the following to use *ngFor over an object:

 
...
5条回答
  •  难免孤独
    2020-11-27 21:07

    no use pipes this it example

    *ngFor="let Value bof Values; let i = index"
    
    {{i}}
    

提交回复
热议问题