-
Notifications
You must be signed in to change notification settings - Fork 26.9k
Closed
Labels
area: docsRelated to the documentationRelated to the documentationarea: docs-infraAngular.dev application and infrastructureAngular.dev application and infrastructure
Milestone
Description
Describe the problem that you experienced
@ViewChildren API section, the list of metadata options have 2 issues:
- The list of available options are not correct. The only available options are https://github.com/angular/angular/blob/main/packages/core/src/metadata/di.ts#L329-L337
- The options in
APIsection don't align with the Description section below
Enter the URL of the topic with the problem
https://angular.dev/api/core/ViewChildren#api
Describe what you were looking for in the documentation
I would expect the @ViewChildren API section to specify the correct available metadata options
Describe the actions that led you to experience the problem
Because the metadata options in API section specifies that descendants option is available, this led to my confusion when using @ViewChildren in my component I couldn't find that option. After inspecting my node_modules which contains Angular 19.2, I could see that the doc is wrong.
Describe what you want to experience that would fix the problem
No response
Add a screenshot if that helps illustrate the problem
If this problem caused an exception or error, please paste it here
N/A
If the problem is browser-specific, please specify the device, OS, browser, and version
N/A
Provide any additional information here in as much as detail as you can
N/A
Metadata
Metadata
Assignees
Labels
area: docsRelated to the documentationRelated to the documentationarea: docs-infraAngular.dev application and infrastructureAngular.dev application and infrastructure