I would like to get the key :337 using *ngfor. any idea please !! this the output of array of objects
Asked
Active
Viewed 33 times
0
-
what do you mean by the key? – Sriram Jayaraman Nov 10 '17 at 10:39
-
*ngFor="let item of items; let i =index" than you can use i – H. Hakvoort Nov 10 '17 at 10:40
-
I have a multidimensional array and each array contains objects and have a key like a picture. I like to get the number 337 for example – RII Nov 10 '17 at 10:49
-
*ngFor="let item of items; let last =last;let i =index"{{ index }}– RII Nov 10 '17 at 11:05