Iterate two arrays in *ngFor— IONIC2/Angular2

前端 未结 5 1247
遥遥无期
遥遥无期 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:57

    Multiple array in single array am using

        this.termlist = this.result.termlst.$values;
        this.disableterm = this.result.disableterms.$values;
        this.customlist = this.result.customgrplist.$values;
    

    single array code

     this.totalarrayob =[ this.termlist,this.disableterm, this.customlist];
    

    how can i call in html using *ngfor

    
        
    lorem Ipsum
    I Term 25000

提交回复
热议问题