基础知识-模板 一审完毕

This commit is contained in:
Zhicheng Wang 2016-05-16 21:34:36 +08:00
parent 8e84ec2c15
commit db9d68ced7
2 changed files with 291 additions and 309 deletions

View File

@ -561,7 +561,7 @@ figure
They tend to appear within an element tag like attributes, They tend to appear within an element tag like attributes,
sometimes by name but more often as the target of an assignment or a binding. sometimes by name but more often as the target of an assignment or a binding.
它们往往像Attribute一样出现在元素标签中偶尔会以名字的形式出现译注:如`<my-hero-detail name="superman"></my-hero-detail>`表示把hero-detail组件的name属性赋值为"superman",并且永不再变 —— 也就是一次性赋值,但不绑定),但多数时候还是作为赋值目标或绑定目标。 它们往往像Attribute一样出现在元素标签中偶尔会以名字的形式出现参见[一次性绑定](./template-syntax.html#one-time-initialization)),但多数时候还是作为赋值目标或绑定目标。
**Structural** directives alter layout by adding, removing, and replacing elements in DOM. **Structural** directives alter layout by adding, removing, and replacing elements in DOM.

File diff suppressed because it is too large Load Diff