docs(ViewQuery): fix typo in documentation
fix typo that confusingly refers to `@Query` rather than `@ViewQuery`. Closes #7870
This commit is contained in:
parent
27cf897239
commit
5110121f6e
|
@ -253,7 +253,7 @@ export class ContentChildMetadata extends QueryMetadata {
|
|||
* class MyComponent {
|
||||
* shown: boolean;
|
||||
*
|
||||
* constructor(private @Query(Item) items:QueryList<Item>) {
|
||||
* constructor(private @ViewQuery(Item) items:QueryList<Item>) {
|
||||
* items.changes.subscribe(() => console.log(items.length));
|
||||
* }
|
||||
* }
|
||||
|
|
Loading…
Reference in New Issue