Loading topic
imports. It covers how a pipe receives parameters, what the main built-in pipes accept, and the errors that come up most often.5 min readuppercase, lowercase and titlecase. They look trivial, but each has specific behavior around null, non-string input, and names or acronyms, and those details cause most of the bugs. This chapter covers how the pipes work and 5 min read{{ }}) in its template, and pass parameters to a pipe with a colon, as in value | pipe:arg. It covers the built-in DatePipe, which turns a date value into display text. The date pipe is the one you will use5 min readnumber, percent and currency. They share one parameter format, the digits-info string, and they all read the active locale. This chapter assumes you can write a standalone component, use interpolation in a template, and pass parameters to a 5 min readslice, keyvalue and json. It assumes you know basic TypeScript syntax, Angular components with template interpolation, and how a standalone component lists its dependencies in imports. You should also know the pipe operator a5 min readimports array. It also assumes you have met RxJS Observables and Promises at a basic level: you know that an Observable emits values over time and that you call `subscr6 min readdate, number, percent and currency. Here you will see how those pipes decide on a regional 6 min read@Pipe and PipeTransform. Here you will learn when Angular runs a pipe, why that matters for arrays and objects, and how to choose betwee6 min read@Pipe and PipeTransform. It also assumes you have seen a Jasmine or Jest style describe/it/expect test. The examples use describe, it, `expect5 min read