diff --git a/public/docs/ts/latest/glossary.jade b/public/docs/ts/latest/glossary.jade index d9737ab318..28838b2d28 100644 --- a/public/docs/ts/latest/glossary.jade +++ b/public/docs/ts/latest/glossary.jade @@ -38,7 +38,7 @@ include _util-fns // #docregion a-2 :marked ## Attribute Directive - ## 属性型指令(Attribute Directive) + ## Attribute型指令(Attribute Directive) .l-sub-section :marked A category of [Directive](#directive) that can listen to and modify the behavior of @@ -50,7 +50,7 @@ include _util-fns The `ngClass` directive for adding and removing CSS class names is a good example of an Attribute Directive. - `ngClass`指令就是典型的属性型指令。它可以添加或移除CSS类名。 + `ngClass`指令就是典型的Attribute型指令。它可以添加或移除CSS类名。 // #enddocregion a-2 // #docregion b-c diff --git a/public/docs/ts/latest/guide/_data.json b/public/docs/ts/latest/guide/_data.json index 42969ebb71..7d18c40b07 100644 --- a/public/docs/ts/latest/guide/_data.json +++ b/public/docs/ts/latest/guide/_data.json @@ -64,8 +64,8 @@ }, "attribute-directives": { - "title": "属性型指令", - "intro": "属性型指令把行为添加到现有元素上。" + "title": "Attribute型指令", + "intro": "Attribute型指令把行为添加到现有元素上。" }, "component-styles": { diff --git a/public/docs/ts/latest/guide/architecture.jade b/public/docs/ts/latest/guide/architecture.jade index 065c9a5c62..ca4279fadf 100644 --- a/public/docs/ts/latest/guide/architecture.jade +++ b/public/docs/ts/latest/guide/architecture.jade @@ -579,11 +579,11 @@ figure **Attribute** directives alter the appearance or behavior of an existing element. In templates they look like regular HTML attributes, hence the name. - **属性型指令** 修改一个现有元素的外观或行为。在模板中,它们看起来就像是标准的HTML属性,故名。 + **Attribute型指令** 修改一个现有元素的外观或行为。在模板中,它们看起来就像是标准的HTML属性,故名。 The `ngModel` directive, which implements two-way data binding, is an example of an attribute directive. - `ngModel`指令是一个属性型指令的范例,它实现了双向数据绑定。 + `ngModel`指令是一个Attribute型指令的范例,它实现了双向数据绑定。 +makeExample('architecture/ts/app/hero-detail.component.html', 'ngModel')(format=".") :marked It modifies the behavior of an existing element (typically an ``) diff --git a/public/docs/ts/latest/tutorial/toh-pt3.jade b/public/docs/ts/latest/tutorial/toh-pt3.jade index 74810b06ba..1194234018 100644 --- a/public/docs/ts/latest/tutorial/toh-pt3.jade +++ b/public/docs/ts/latest/tutorial/toh-pt3.jade @@ -230,7 +230,7 @@ code-example(format="."). Learn more about the `@Input()` decorator in the [Attribute Directives](../guide/attribute-directives.html#input) chapter. - 要了解`@Input()`装饰器的更多知识,参见[属性型指令](../guide/attribute-directives.html#input)一章。 + 要了解`@Input()`装饰器的更多知识,参见[Attribute型指令](../guide/attribute-directives.html#input)一章。 .l-main-section :marked ## Refresh the AppComponent