fix: 合并社区 PR
This commit is contained in:
commit
f533bb84cb
@ -159,7 +159,7 @@ calls the lifecycle hook methods in the following sequence at specific moments:
|
||||
|
||||
Respond after Angular projects external content into the component's view / the view that a directive is in.
|
||||
|
||||
没当 Angular 把外部内容投影进组件/指令的视图之后调用。
|
||||
当 Angular 把外部内容投影进组件/指令的视图之后调用。
|
||||
|
||||
Called _once_ after the first `ngDoCheck()`.
|
||||
|
||||
@ -201,7 +201,7 @@ calls the lifecycle hook methods in the following sequence at specific moments:
|
||||
|
||||
Respond after Angular initializes the component's views and child views / the view that a directive is in.
|
||||
|
||||
每当 Angular 初始化完组件视图及其子视图之后调用。
|
||||
当 Angular 初始化完组件视图及其子视图之后调用。
|
||||
|
||||
Called _once_ after the first `ngAfterContentChecked()`.
|
||||
|
||||
@ -244,7 +244,7 @@ calls the lifecycle hook methods in the following sequence at specific moments:
|
||||
Cleanup just before Angular destroys the directive/component.
|
||||
Unsubscribe Observables and detach event handlers to avoid memory leaks.
|
||||
|
||||
没当 Angular 每次销毁指令/组件之前调用并清扫。
|
||||
每当 Angular 每次销毁指令/组件之前调用并清扫。
|
||||
在这儿反订阅可观察对象和分离事件处理器,以防内存泄漏。
|
||||
|
||||
Called _just before_ Angular destroys the directive/component.
|
||||
|
@ -106,7 +106,7 @@ typical characteristics, in real world apps, you may see hybrids.
|
||||
|
||||
Domain feature modules are typically imported exactly once by a larger feature module.
|
||||
|
||||
领域特性模块通常会由更高一级的特性模块导出且只导出一次。
|
||||
领域特性模块通常会由更高一级的特性模块导入且只导入一次。
|
||||
|
||||
They might be imported by the root `AppModule` of a small application that lacks routing.
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
||||
<div class="text-container">
|
||||
<div class="text-block promo-1-desc l-pad-top-2">
|
||||
<div class="text-headline">横跨所有平台</div>
|
||||
<p class="text-body">学会用Angular构建应用,然后把这些代码和能力复用在多种多种不同平台的应用上 —— Web、移动 Web、移动应用、原生应用和桌面原生应用。</p>
|
||||
<p class="text-body">学会用 Angular 构建应用,然后把这些代码和能力复用在多种多种不同平台的应用上 —— Web、移动 Web、移动应用、原生应用和桌面原生应用。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -52,8 +52,8 @@
|
||||
<div class="text-container">
|
||||
<div class="text-block">
|
||||
<div class="text-headline">速度与性能</div>
|
||||
<p class="text-body">通过Web Worker和服务端渲染,达到在如今(以及未来)的Web平台上所能达到的最高速度。</p>
|
||||
<p class="text-body">Angular让你有效掌控可伸缩性。基于RxJS、Immutable.js和其它推送模型,能适应海量数据需求。</p>
|
||||
<p class="text-body">通过 Web Worker 和服务端渲染,达到在如今(以及未来)的 Web 平台上所能达到的最高速度。</p>
|
||||
<p class="text-body">Angular 让你有效掌控可伸缩性。基于 RxJS、Immutable.js 和其它推送模型,能适应海量数据需求。</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -74,7 +74,7 @@
|
||||
<div class="text-container">
|
||||
<div class="text-block promo-3-desc">
|
||||
<div class="text-headline">美妙的工具</div>
|
||||
<p class="text-body">使用简单的声明式模板,快速实现各种特性。使用自定义组件和大量现有组件,扩展模板语言。在几乎所有的IDE中获得针对Angular的即时帮助和反馈。所有这一切,都是为了帮助你编写漂亮的应用,而不是绞尽脑汁的让代码“能用”。</p>
|
||||
<p class="text-body">使用简单的声明式模板,快速实现各种特性。使用自定义组件和大量现有组件,扩展模板语言。在几乎所有的 IDE 中获得针对 Angular 的即时帮助和反馈。所有这一切,都是为了帮助你编写漂亮的应用,而不是绞尽脑汁的让代码“能用”。</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -86,7 +86,7 @@
|
||||
<div class="text-container">
|
||||
<div class="text-block l-pad-top-2">
|
||||
<div class="text-headline">百万粉丝热捧</div>
|
||||
<p class="text-body">从原型到全球部署,Angular都能带给你支撑Google大型应用的那些高延展性基础设施与技术。</p>
|
||||
<p class="text-body">从原型到全球部署,Angular 都能带给你支撑 Google 大型应用的那些高延展性基础设施与技术。</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -104,7 +104,7 @@
|
||||
<img src="generated/images/marketing/home/code-icon.svg" height="70px" alt="Angular quickstart">
|
||||
<div class="card-text-container">
|
||||
<div class="text-headline">立即开始</div>
|
||||
<p>开始构建你的 Angular 应用</p>
|
||||
<p>构建你的 Angular 应用</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
@ -27,7 +27,7 @@ By the end of the tutorial you will be able to do the following:
|
||||
|
||||
* Use one-way data binding for read-only data.
|
||||
|
||||
为只读数据使用单项数据绑定。
|
||||
为只读数据使用单向数据绑定。
|
||||
|
||||
* Add editable fields to update a model with two-way data binding.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user