This commit is contained in:
Zhimin YE 2016-10-28 10:22:35 +01:00
parent 2b9c43471a
commit b99ba401a1
1 changed files with 2 additions and 1 deletions

View File

@ -220,7 +220,8 @@ figure.image-display
in the `<li>` element is the Angular "repeater" directive. in the `<li>` element is the Angular "repeater" directive.
It marks that `<li>` element (and its children) as the "repeater template": It marks that `<li>` element (and its children) as the "repeater template":
这个我们看到了熟悉的HTML —— 由`<ul>`和`<li>`标签组成的无序列表。请聚焦在`<li>`标签上。 这个界面使用了由`<ul>`和`<li>`标签组成的无序列表。`<li>`元素里的`*ngFor`是Angular的“迭代”指令。
它将`<li>`元素和它的子级标记为“迭代模板”:
+makeExcerpt('app/app.component.2.ts ()', 'li', '') +makeExcerpt('app/app.component.2.ts ()', 'li', '')