【发布时间】:2020-07-13 11:41:15
【问题描述】:
我收到模板解析错误:使用下面的代码,正确的实现是什么?
#代码
<mat-chip-list #chipList aria-label="Fruit selection">
<mat-chip [routerLink]="['templates/,{{ template.name }} ,/edit']" *ngFor="let template of associated_template;" [selectable]="selectable">
{{ template.name }}
<mat-icon matChipRemove *ngIf="removable">cancel</mat-icon>
</mat-chip>
<input [matChipInputFor]="chipList" [matChipInputSeparatorKeyCodes]="separatorKeysCodes" [matChipInputAddOnBlur]="addOnBlur" (matChipInputTokenEnd)="add($event)">
</mat-chip-list>
【问题讨论】:
标签: angularjs angular typescript