Skip to content

Commit

Permalink
翻译完了生命周期钩子部分
Browse files Browse the repository at this point in the history
  • Loading branch information
asnowwolf committed Apr 30, 2017
1 parent 07fa6ec commit f014896
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions public/docs/ts/latest/guide/lifecycle-hooks.jade
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ figure

[监听OnInit和OnDestroy](#spy)


* [OnInit](#oninit)

* [OnDestroy](#ondestroy)
Expand All @@ -69,12 +68,10 @@ figure

* [AfterView](#afterview)


* [Abide by the unidirectional data flow rule](#wait-a-tick)

[遵循单向数据流规则](#wait-a-tick)


* [AfterContent](#aftercontent)

* [Content projection](#content-projection)
Expand Down Expand Up @@ -933,12 +930,12 @@ a#aftercontent-hooks
* The *AfterView* hooks concern `ViewChildren`, the child components whose element tags
appear *within* the component's template.

*AfterView*钩子所关心的是`ViewChildren`,这些子组件的元素标签会出现在该组件的模板*里面*。
*AfterView*钩子所关心的是`ViewChildren`,这些子组件的元素标签会出现在该组件的模板*里面*。

* The *AfterContent* hooks concern `ContentChildren`, the child components that Angular
projected into the component.

*AfterContent*钩子所关心的是`ContentChildren`,这些子组件被Angular投影进该组件中。
*AfterContent*钩子所关心的是`ContentChildren`,这些子组件被Angular投影进该组件中。

The following *AfterContent* hooks take action based on changing values in a *content child*,
which can only be reached by querying for them via the property decorated with
Expand Down

0 comments on commit f014896

Please sign in to comment.