Update structural-directives.md

This commit is contained in:
雪狼 2019-08-27 13:09:53 +08:00
parent 8c45f976bb
commit 2aa451c8a1

View File

@ -292,7 +292,7 @@ The [`NgFor`](guide/structural-directives#ngFor) and [`NgSwitch...`](guide/struc
Angular transforms the `*ngFor` in similar fashion from asterisk (*) syntax to `<ng-template>` _element_. Angular transforms the `*ngFor` in similar fashion from asterisk (*) syntax to `<ng-template>` _element_.
Angular 会把 `*ngFor` 用同样的方式把星号`*`语法的 `template`*属性*转换成 `<ng-template>`*元素*。 Angular 会把 `*ngFor` 用同样的方式把星号`*`语法的 `template`*属性*转换成 `<ng-template>`*元素*。
Here's a full-featured application of `NgFor`, written both ways: Here's a full-featured application of `NgFor`, written both ways: