From f24ee2181cd854ba649a0e1f16b9115184bd42c0 Mon Sep 17 00:00:00 2001 From: "Zhimin YE (Rex)" Date: Wed, 8 Jun 2016 17:02:41 +0100 Subject: [PATCH] a1-a2-quick-reference.jade review up to pipe/number --- .../docs/ts/latest/cookbook/a1-a2-quick-reference.jade | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/docs/ts/latest/cookbook/a1-a2-quick-reference.jade b/public/docs/ts/latest/cookbook/a1-a2-quick-reference.jade index b05977b2fc..bbd3f70690 100644 --- a/public/docs/ts/latest/cookbook/a1-a2-quick-reference.jade +++ b/public/docs/ts/latest/cookbook/a1-a2-quick-reference.jade @@ -145,7 +145,7 @@ table(width="100%") See the heading [Filters / Pipes](#Pipes) below for more information. - 请参见标题[过滤器/管道](#Pipes)了解更多信息。 + 请参见下面[过滤器/管道](#Pipes)了解更多信息。 tr(style=top) td @@ -346,7 +346,7 @@ table(width="100%") For a list of DOM events, see: https://developer.mozilla.org/en-US/docs/Web/Events. - 要查看DOM事件的列表,请参见。 + 要查看DOM事件的列表,请参见[网络事件](https://developer.mozilla.org/en-US/docs/Web/Events)。 For more information see [Template Syntax](../guide/template-syntax.html#event-binding). @@ -377,7 +377,7 @@ table(width="100%") In Angular 2, the template no longer specifies its associated controller. Rather, the component specifies its associated template as part of the component class decorator. - 在Angular 2中,模板不用再指定它相关的视图。 + 在Angular 2中,模板不用再指定它相关的控制器。 反过来,组件会在组件类的装饰器中指定与它相关的模板。 For more information see [Architecture Overview](../guide/architecture.html#component). @@ -441,7 +441,7 @@ table(width="100%") In Angular 2, we use property binding; there is no built-in *href* directive. We place the element's `href` property in square brackets and set it to a quoted template expression. - 在Angular 2中,并没有内建的*href*指令,我们可以改用属性绑定。 + 在Angular 2中,并没有内建的*href*指令,我们改用属性绑定。 我们把元素的`href`属性放在方括号中,并把它设成一个引号中的模板表达式。 For more information on property binding see [Template Syntax](../guide/template-syntax.html#property-binding). @@ -481,7 +481,7 @@ table(width="100%") The `*ngIf` directive in Angular 2 works the same as the `ng-if` directive in Angular 1, it removes or recreates a portion of the DOM based on an expression. - Angular 2中的`*ngIf`指令与Angular 1中的`ng-if`指令不同, + Angular 2中的`*ngIf`指令与Angular 1中的`ng-if`指令一样, 它根据表达式的值移除或重建DOM中的一部分。 In this example, the `table` element is removed from the DOM unless the `movies` array has a length.