docs(core): correct type for opts.read (#37626)
The ContentChildren decorator has a metadata property named "read" which can be used to read a different token from the queried elements. The documentation incorrectly says "True to read..." when it should say "Used to read...". PR Close #37626
This commit is contained in:
parent
0d29259d9b
commit
035036308a
@ -140,7 +140,7 @@ export interface ContentChildrenDecorator {
|
||||
*
|
||||
* * **selector** - The directive type or the name used for querying.
|
||||
* * **descendants** - True to include all descendants, otherwise include only direct children.
|
||||
* * **read** - True to read a different token from the queried elements.
|
||||
* * **read** - Used to read a different token from the queried elements.
|
||||
*
|
||||
* @usageNotes
|
||||
*
|
||||
@ -204,7 +204,7 @@ export interface ContentChildDecorator {
|
||||
* **Metadata Properties**:
|
||||
*
|
||||
* * **selector** - The directive type or the name used for querying.
|
||||
* * **read** - True to read a different token from the queried element.
|
||||
* * **read** - Used 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. Defaults to false.
|
||||
*
|
||||
@ -263,7 +263,7 @@ export interface ViewChildrenDecorator {
|
||||
* **Metadata Properties**:
|
||||
*
|
||||
* * **selector** - The directive type or the name used for querying.
|
||||
* * **read** - True to read a different token from the queried elements.
|
||||
* * **read** - Used to read a different token from the queried elements.
|
||||
*
|
||||
* @usageNotes
|
||||
*
|
||||
@ -317,7 +317,7 @@ export interface ViewChildDecorator {
|
||||
* **Metadata Properties**:
|
||||
*
|
||||
* * **selector** - The directive type or the name used for querying.
|
||||
* * **read** - True to read a different token from the queried elements.
|
||||
* * **read** - Used to read a different token from the queried elements.
|
||||
* * **static** - True to resolve query results before change detection runs,
|
||||
* false to resolve after change detection. Defaults to false.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user