docs: place download section in angular pipes to the top (#36073)
This commit partially addresses #35459 PR Close #36073
This commit is contained in:
parent
de7a9a3b93
commit
76d86d5a07
|
@ -3,6 +3,12 @@
|
||||||
Every application starts out with what seems like a simple task: get data, transform them, and show them to users.
|
Every application starts out with what seems like a simple task: get data, transform them, and show them to users.
|
||||||
Getting data could be as simple as creating a local variable or as complex as streaming data over a WebSocket.
|
Getting data could be as simple as creating a local variable or as complex as streaming data over a WebSocket.
|
||||||
|
|
||||||
|
<div class="alert is-helpful">
|
||||||
|
|
||||||
|
For the sample app that this page describes, see the <live-example></live-example>.
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
Once data arrives, you could push their raw `toString` values directly to the view,
|
Once data arrives, you could push their raw `toString` values directly to the view,
|
||||||
but that rarely makes for a good user experience.
|
but that rarely makes for a good user experience.
|
||||||
For example, in most use cases, users prefer to see a date in a simple format like
|
For example, in most use cases, users prefer to see a date in a simple format like
|
||||||
|
@ -16,8 +22,6 @@ In fact, you might like to apply them in your HTML templates as you do styles.
|
||||||
|
|
||||||
Introducing Angular pipes, a way to write display-value transformations that you can declare in your HTML.
|
Introducing Angular pipes, a way to write display-value transformations that you can declare in your HTML.
|
||||||
|
|
||||||
You can run the <live-example></live-example> in Stackblitz and download the code from there.
|
|
||||||
|
|
||||||
|
|
||||||
## Using pipes
|
## Using pipes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue