docs(angular): add common pipes content (#6497)

pull/6509/head
J. Degand 4 months ago committed by GitHub
parent e0c0925d38
commit d30b6f1c15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 16
      src/data/roadmaps/angular/content/common-pipes@i2taHzQ5KLHjkkpbH4Ytd.md

@ -1 +1,17 @@
# Common Pipes
Angular provides built-in pipes for typical data transformations, including transformations for internationalization (i18n), which use locale information to format data. The following are commonly used built-in pipes for data formatting:
- DatePipe: Formats a date value according to locale rules.
- UpperCasePipe: Transforms text to all upper case.
- LowerCasePipe: Transforms text to all lower case.
- CurrencyPipe: Transforms a number to a currency string, formatted according to locale rules.
- DecimalPipe: Transforms a number into a string with a decimal point, formatted according to locale rules.
- PercentPipe: Transforms a number to a percentage string, formatted according to locale rules.
- AsyncPipe: Subscribe and unsubscribe to an asynchronous source such as an observable.
- JsonPipe: Display a component object property to the screen as JSON for debugging.
Visit the following resources to learn more:
- [@official@Angular Official Docs - Pipes](https://angular.dev/guide/pipes)
- [@article@Pipes in Angular](https://medium.com/@aqeelabbas3972/pipes-in-angular-6a871589299d)
Loading…
Cancel
Save