Merge remote-tracking branch 'origin/aio' into aio
# Conflicts: # aio/content/guide/aot-compiler.md # aio/content/guide/hierarchical-dependency-injection.md
This commit is contained in:
commit
601f165f3c
@ -50,7 +50,7 @@ Creating a custom element is simple and straightforward, and automatically conne
|
||||
|
||||
Custom elements bootstrap themselves - they start automatically when they are added to the DOM, and are automatically destroyed when removed from the DOM. Once a custom element is added to the DOM for any page, it looks and behaves like any other HTML element, and does not require any special knowledge of Angular terms or usage conventions.
|
||||
|
||||
自定义元素会自举启动 —— 它们在添加到 DOM 中时就会自行启动自己,并在从 DOM 中移除时自行销毁自己。一旦自定义元素添加到了任何页面的 DOM 中,它的外观和行为就和其它的 HTML 元素一样了,不需要对 Angular 的术语或使用约定有任何特殊的了解。
|
||||
自定义元素会自举 —— 它们在添加到 DOM 中时就会自行启动自己,并在从 DOM 中移除时自行销毁自己。一旦自定义元素添加到了任何页面的 DOM 中,它的外观和行为就和其它的 HTML 元素一样了,不需要对 Angular 的术语或使用约定有任何特殊的了解。
|
||||
|
||||
- <b>Easy dynamic content in an Angular app</b>
|
||||
|
||||
|
@ -669,7 +669,7 @@ Execution of the HTTP request is _deferred_, allowing you to extend the
|
||||
observable with additional operations such as `tap` and `catchError` before anything actually happens.
|
||||
|
||||
`HttpClient` 的所有方法返回的可观察对象都设计为*冷的*。
|
||||
HTTP 请求的执行都是*延期执行的*,让你可以用 `tap` 和 `catchError` 这样的操作符来在实际执行什么之前,先对这个可观察对象进行扩展。
|
||||
HTTP 请求的执行都是*延期执行的*,让你可以用 `tap` 和 `catchError` 这样的操作符来在实际执行HTTP请求之前,先对这个可观察对象进行扩展。
|
||||
|
||||
Calling `subscribe(...)` triggers execution of the observable and causes
|
||||
`HttpClient` to compose and send the HTTP request to the server.
|
||||
|
Loading…
x
Reference in New Issue
Block a user