ionic2 angular2 模板指令補充

向div中插入帶有html標籤的數據   [innerHTML]="item.content" 
 
字符串截取指令                       {{item.description|slice:0:49}} 

指定循環次數          *ngFor="let item of sheng|slice:0:2"
相關文章
相關標籤/搜索