翻译了教程中的HTTP一章
This commit is contained in:
@@ -1367,7 +1367,7 @@ a(id="parent-tree")
|
||||
|
||||
Here's *Alice*, *Barry* and family in action:
|
||||
|
||||
这里是*Alice*,*Barry*和该家庭的代码:
|
||||
这里是*Alice*,*Barry*和该家庭的操作演示:
|
||||
|
||||
figure.image-display
|
||||
img(src="/resources/images/cookbooks/dependency-injection/alice.png" alt="Alice in action")
|
||||
|
||||
@@ -676,7 +676,7 @@ figure.image-display
|
||||
:marked
|
||||
Here's the sample in action as we make changes.
|
||||
|
||||
下面是此例子中的当我们做出更改时的动态效果:
|
||||
下面是此例子中的当我们做出更改时的操作演示:
|
||||
|
||||
figure.image-display
|
||||
img(src='/resources/images/devguide/lifecycle-hooks/on-changes-anim.gif' alt="OnChanges")
|
||||
|
||||
@@ -209,7 +209,7 @@ figure.image-display
|
||||
Here it is in action:
|
||||
|
||||
借助内建的`ngOnInit`和`ngOnDestroy`[生命周期钩子](lifecycle-hooks.html),我们同时记录了组件的创建或销毁过程。
|
||||
下面是它的操作效果:
|
||||
下面是它的操作演示:
|
||||
|
||||
figure.image-display
|
||||
img(src='/resources/images/devguide/structural-directives/heavy-loader-toggle.gif' alt="heavy loader toggle")
|
||||
|
||||
@@ -63,7 +63,9 @@ p 运行这部分的#[+liveExampleLink2('在线例子', 'toh-4')]。
|
||||
|
||||
:marked
|
||||
### Keep the app transpiling and running
|
||||
|
||||
### 让应用代码保持转译和运行
|
||||
|
||||
Open a terminal/console window.
|
||||
Start the TypeScript compiler, watch for changes, and start our server by entering the command:
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user