Skip to content

Commit

Permalink
docs: view child static query differences formatting (#54370)
Browse files Browse the repository at this point in the history
The docs were broken as the first line is the only one to be displayed in the table.

PR Close #54370
  • Loading branch information
cexbrayat authored and alxhub committed Feb 21, 2024
1 parent 6447c0e commit 187b46a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/core/src/metadata/di.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,16 +422,14 @@ export interface ViewChildDecorator {
* * Any provider defined through a string token (e.g. `{provide: 'token', useValue: 'val'}`)
* * `TemplateRef`, `ElementRef`, and `ViewContainerRef`
*
* Difference between dynamic and static queries**:
*
* | Queries | Details |
* |:--- |:--- |
* | Dynamic queries \(`static: false`\) | The query resolves before the `ngAfterViewInit()`
* Difference between dynamic and static queries:
* * Dynamic queries \(`static: false`\) - The query resolves before the `ngAfterViewInit()`
* callback is called. The result will be updated for changes to your view, such as changes to
* `ngIf` and `ngFor` blocks. | | Static queries \(`static: true`\) | The query resolves once
* `ngIf` and `ngFor` blocks.
* * Static queries \(`static: true`\) - The query resolves once
* the view has been created, but before change detection runs (before the `ngOnInit()` callback
* is called). The result, though, will never be updated to reflect changes to your view, such as
* changes to `ngIf` and `ngFor` blocks. |
* changes to `ngIf` and `ngFor` blocks.
*
* @usageNotes
*
Expand Down

0 comments on commit 187b46a

Please sign in to comment.