Angular4.0中經常使用指令

Angular 4.0spa

 

1. 指令:*ngFor.net

循環帶索引的兩種方法:code

<tr *ngFor="let item of listWorkingDetails index as i" >

<tr *ngFor="let item of listWorkingDetails; let i = index" >
相關文章
相關標籤/搜索