docs(core): update static flag documentation (#32993)
Followup to #32720 that removed the logic that statically determines whether a query is dynamic. This updates the docs to reflect that, and mentions that the flag now defaults to false. PR Close #32993
This commit is contained in:
parent
3a53e2c960
commit
94b9b7e154
|
@ -205,12 +205,7 @@ export interface ContentChildDecorator {
|
|||
* * **selector** - The directive type or the name used for querying.
|
||||
* * **read** - True to read a different token from the queried element.
|
||||
* * **static** - True to resolve query results before change detection runs,
|
||||
* false to resolve after change detection.
|
||||
*
|
||||
* When `static` is not provided, uses the query results to determine the timing of query
|
||||
* resolution. If any query results are inside a nested view (such as `*ngIf`), the query is
|
||||
* resolved after change detection runs. Otherwise, it is resolved before change detection
|
||||
* runs.
|
||||
* false to resolve after change detection. Defaults to false.
|
||||
*
|
||||
* @usageNotes
|
||||
*
|
||||
|
@ -320,12 +315,9 @@ export interface ViewChildDecorator {
|
|||
*
|
||||
* * **selector** - The directive type or the name used for querying.
|
||||
* * **read** - True to read a different token from the queried elements.
|
||||
* * **static** - True to resolve query results before change detection runs
|
||||
* * **static** - True to resolve query results before change detection runs,
|
||||
* false to resolve after change detection. Defaults to false.
|
||||
*
|
||||
* When `static` is not provided, uses query results to determine the timing of query
|
||||
* resolution. If any query results are inside a nested view (such as `*ngIf`), the query is
|
||||
* resolved after change detection runs. Otherwise, it is resolved before change detection
|
||||
* runs.
|
||||
*
|
||||
* The following selectors are supported.
|
||||
* * Any class with the `@Component` or `@Directive` decorator
|
||||
|
|
Loading…
Reference in New Issue