Answers for "specify the object key in ngFor"

6

ngfor on keys of a dictionary angular

<div *ngFor="let item of testObject | keyvalue">
    Key: <b>{{item.key}}</b> and Value: <b>{{item.value}}</b>
</div>
Posted by: Guest on April-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language