parent
22a3704947
commit
1a8bbea1d1
|
@ -39,6 +39,14 @@ block includes
|
|||
[pipe operator](./template-syntax.html#pipe) ( | ) to the [Date pipe](../api/common/index/DatePipe-class.html)
|
||||
function on the right. All pipes work this way.
|
||||
|
||||
.l-sub-section
|
||||
:marked
|
||||
The `Date` and `Currency` pipes need the **ECMAScript Internationalization API**.
|
||||
Safari and other older browsers don't support it. We can add support with a polyfill.
|
||||
|
||||
code-example(language="html").
|
||||
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Intl.~locale.en"></script>
|
||||
|
||||
.l-main-section
|
||||
:marked
|
||||
## Built-in pipes
|
||||
|
@ -48,7 +56,7 @@ block includes
|
|||
|
||||
.l-sub-section
|
||||
:marked
|
||||
Learn more about these and many other built-in pipes in the the [API Reference](../api/#!?apiFilter=pipe);
|
||||
Learn more about these and many other built-in pipes in the [API Reference](../api/#!?apiFilter=pipe);
|
||||
filter for entries that include the word "pipe".
|
||||
|
||||
Angular 2 doesn't have a `FilterPipe` or an `OrderByPipe` for reasons explained in an [appendix below](#no-filter-pipe).
|
||||
|
|
Loading…
Reference in New Issue