Iterate two arrays in *ngFor— IONIC2/Angular2

前端 未结 5 1279
遥遥无期
遥遥无期 2020-12-30 13:30

I have stored values in two arrays to iterate in a single ion-list . Billerstatusstate and Billerstatusnamelst are the two arrays.

I have tried the foll

5条回答
  •  心在旅途
    2020-12-30 13:59

    You can leverage the index of the ngFor directive to achieve this.

    
    
      {{Billerstatusnamelst[i]}} 
    
    
    

提交回复
热议问题