| 717 | * @publicApi |
| 718 | */ |
| 719 | export interface Pipe { |
| 720 | /** |
| 721 | * The pipe name to use in template bindings. |
| 722 | * Typically uses lowerCamelCase |
| 723 | * because the name cannot contain hyphens. |
| 724 | */ |
| 725 | name: string; |
| 726 | |
| 727 | /** |
| 728 | * When true, the pipe is pure, meaning that the |
| 729 | * `transform()` method is invoked only when its input arguments |
| 730 | * change. Pipes are pure by default. |
| 731 | * |
| 732 | * If the pipe has internal state (that is, the result |
| 733 | * depends on state other than its arguments), set `pure` to false. |
| 734 | * In this case, the pipe is invoked on each change-detection cycle, |
| 735 | * even if the arguments have not changed. |
| 736 | */ |
| 737 | pure?: boolean; |
| 738 | |
| 739 | /** |
| 740 | * Angular pipes marked as `standalone` do not need to be declared in an NgModule. Such |
| 741 | * pipes don't depend on any "intermediate context" of an NgModule (ex. configured providers). |
| 742 | */ |
| 743 | standalone?: boolean; |
| 744 | } |
| 745 | |
| 746 | /** |
| 747 | * @Annotation |
no outgoing calls
no test coverage detected
searching dependent graphs…