Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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>
 
PREVIOUS NEXT
Tagged: #ngfor #keys #dictionary #angular
ADD COMMENT
Topic
Name
4+3 =