Saved Bookmarks
| 1. |
What Is Pure Pipe? |
|
Answer» Angular EXECUTES a pure pipe only when it DETECTS a pure change to the input value. A pure change can be primitive or non-primitive. Primitive data are only single values, they have not special capabilities and the non-primitive data types are used to store the group of values. @Pipe({ NAME: 'currency' }) Angular executes a pure pipe only when it detects a pure change to the input value. A pure change can be primitive or non-primitive. Primitive data are only single values, they have not special capabilities and the non-primitive data types are used to store the group of values. @Pipe({ name: 'currency' }) |
|