大佬教程收集整理的这篇文章主要介绍了angular2仅支持最多9个插值,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
该问题可以转载于:
http://plnkr.co/edit/3M7lw6U4RAuOPacM4rmj?p=preview
<ul> <li *ngFor="let lead of leads" > {{lead.first_name}} {{lead.last_name}} {{lead.priMary_email}} {{lead.priMary_phonE}} {{lead.priMary_address_line_1}} {{lead.priMary_address_line_2}} {{lead.priMary_address_city}} {{lead.priMary_address_statE}} {{lead.priMary_address_zip}} {{lead.date_of_birth}} <input type="checkBox" [checked]="lead.is_pre_approved" (changE)="toggleAttending.emit(lead)" /> <button (click)="removePerson.emit(lead)">delete</button> </li> </ul>
<ul> <li *ngFor="let lead of leads"> <div> {{lead.first_name}} {{lead.last_name}} </div> <div> {{lead.priMary_email}} {{lead.priMary_phonE}} </div> <div> {{lead.priMary_address_line_1}} {{lead.priMary_address_line_2}} {{lead.priMary_address_city}} {{lead.priMary_address_statE}} {{lead.priMary_address_zip}} {{lead.date_of_birth}} </div> <input type="checkBox" [checked]="lead.is_pre_approved" (changE)="toggleAttending.emit(lead)" /> <button (click)="removePerson.emit(lead)">delete</button> </li> </ul>
以上是大佬教程为你收集整理的angular2仅支持最多9个插值全部内容,希望文章能够帮你解决angular2仅支持最多9个插值所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。