angular2指令解读:ngFor,ngIf,ngSwitch,ngStyle,ngClass用法
总结于他人文档如有侵权,联系删稿0.先给组件赋值一个测试数据import{Component}from'@angular/core';@Component({selector:'ng-tag',styles:[require('./NgTag.scss')],template:require('NgTag.html')})exportclassNgTagComponent{list:any;ngS