a1-a2-quick-reference.jade review up to pipe/number

This commit is contained in:
Zhimin YE (Rex) 2016-06-08 17:02:41 +01:00
parent cc96a317a0
commit f24ee2181c
1 changed files with 5 additions and 5 deletions

View File

@ -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事件的列表请参见<https://developer.mozilla.org/en-US/docs/Web/Events>
要查看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&nbsp;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&nbsp;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&nbsp;2 works the same as the `ng-if` directive in Angular&nbsp;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.