fix: 组建 => 组件

This commit is contained in:
Zhicheng Wang 2017-05-19 14:08:39 +08:00
parent fde8389977
commit 54da8debbd
3 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ a#hooks-overview
that Angular calls shortly after creating the component: that Angular calls shortly after creating the component:
每个接口都有唯一的一个钩子方法,它们的名字是由接口名再加上`ng`前缀构成的。比如,`OnInit`接口的钩子方法叫做`ngOnInit` 每个接口都有唯一的一个钩子方法,它们的名字是由接口名再加上`ng`前缀构成的。比如,`OnInit`接口的钩子方法叫做`ngOnInit`
Angular在创建组后立刻调用它,: Angular在创建组后立刻调用它,:
+makeExample('lifecycle-hooks/ts/src/app/peek-a-boo.component.ts', 'ngOnInit', 'peek-a-boo.component.ts (excerpt)')(format='.') +makeExample('lifecycle-hooks/ts/src/app/peek-a-boo.component.ts', 'ngOnInit', 'peek-a-boo.component.ts (excerpt)')(format='.')
:marked :marked

View File

@ -2656,7 +2656,7 @@ a#route-animation
The other two `@HostBinding` properties style the display and position of the component. The other two `@HostBinding` properties style the display and position of the component.
另外两个`@HostBinding`属性指定组的外观和位置。 另外两个`@HostBinding`属性指定组的外观和位置。
The `HeroDetailComponent` will ease in from the left when routed to and will slide down when navigating away. The `HeroDetailComponent` will ease in from the left when routed to and will slide down when navigating away.

View File

@ -2395,7 +2395,7 @@ a(href="#toc").to-top 回到顶部
:marked :marked
**Do** give components an _element_ selector, as opposed to _attribute_ or _class_ selectors. **Do** give components an _element_ selector, as opposed to _attribute_ or _class_ selectors.
**坚持**给组一个*元素*选择器,而不是*属性*或*类*选择器。 **坚持**给组一个*元素*选择器,而不是*属性*或*类*选择器。
.s-why .s-why
:marked :marked