-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Pipe documentation does not explain the default value of standalone #66129
Copy link
Copy link
Closed
Labels
area: docs-infraAngular.dev application and infrastructureAngular.dev application and infrastructure
Milestone
Description
Describe the problem that you experienced
In fact, https://angular.dev/api/core/Pipe is missing details about the configuration object of the annotation entirely. the individual options are documented at
angular/packages/core/src/metadata/directives.ts
Lines 729 to 757 in 9fa77af
| export interface Pipe { | |
| /** | |
| * The pipe name to use in template bindings. | |
| * Typically uses lowerCamelCase | |
| * because the name cannot contain hyphens. | |
| */ | |
| name: string; | |
| /** | |
| * When true, the pipe is pure, meaning that the | |
| * `transform()` method is invoked only when its input arguments | |
| * change. Pipes are pure by default. | |
| * | |
| * If the pipe has internal state (that is, the result | |
| * depends on state other than its arguments), set `pure` to false. | |
| * In this case, the pipe is invoked on each change-detection cycle, | |
| * even if the arguments have not changed. | |
| */ | |
| pure?: boolean; | |
| /** | |
| * Angular pipes marked as `standalone` do not need to be declared in an NgModule. Such | |
| * pipes don't depend on any "intermediate context" of an NgModule (ex. configured providers). | |
| * | |
| * More information about standalone components, directives, and pipes can be found in [this | |
| * guide](guide/components/importing). | |
| */ | |
| standalone?: boolean; | |
| } |
Enter the URL of the topic with the problem
https://angular.dev/api/core/Pipe
Describe what you were looking for in the documentation
No response
Describe the actions that led you to experience the problem
No response
Describe what you want to experience that would fix the problem
No response
Add a screenshot if that helps illustrate the problem
No response
If this problem caused an exception or error, please paste it here
If the problem is browser-specific, please specify the device, OS, browser, and version
Provide any additional information here in as much as detail as you can
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: docs-infraAngular.dev application and infrastructureAngular.dev application and infrastructure