修订完pipes
This commit is contained in:
parent
f21bc6730a
commit
63615bd533
|
@ -564,6 +564,9 @@ a#impure-flying-heroes
|
||||||
我们可以在<live-example></live-example>中确认,当我们输入新的英雄甚至修改#[code heroes]数组时,这个#[i 会飞的英雄]的显示也跟着更新了。
|
我们可以在<live-example></live-example>中确认,当我们输入新的英雄甚至修改#[code heroes]数组时,这个#[i 会飞的英雄]的显示也跟着更新了。
|
||||||
|
|
||||||
h3#async-pipe The impure #[i AsyncPipe]
|
h3#async-pipe The impure #[i AsyncPipe]
|
||||||
|
|
||||||
|
h3#async-pipe 非纯#[i AsyncPipe]
|
||||||
|
|
||||||
:marked
|
:marked
|
||||||
The Angular `AsyncPipe` is an interesting example of an impure pipe.
|
The Angular `AsyncPipe` is an interesting example of an impure pipe.
|
||||||
The `AsyncPipe` accepts a `Promise` or `Observable` as input
|
The `AsyncPipe` accepts a `Promise` or `Observable` as input
|
||||||
|
|
Loading…
Reference in New Issue