Skip to content

Pipe documentation does not explain the default value of standalone #66129

@raphinesse

Description

@raphinesse

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

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;
}
but that neither has info about the default for standalone, not appears in the rendered docs.

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


Metadata

Metadata

Assignees

Labels

area: docs-infraAngular.dev application and infrastructure

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions