Monday, 31 May 2021

key value display angular

 angular 10 object get key and value ” Code Answer's

  1. <div *ngFor="let item of testObject | keyvalue">
  2. Key: <b>{{item. key}}</b> and Value: <b>{{item.value}}</b>
  3. </div>

No comments:

Post a Comment

7 Common mistakes in Dot Net — You can avoid

  There are many common mistakes made during .NET (ASP.NET, .NET Core) development, which affect performance, security, and code… Code Crack...