feat(angular/communication): add content to the threads (#6506)
* feat(angular): add ViewChild content * feat(angular): add ContentChild content * feat(angular): add Parent-Child Interaction contentpull/6509/head
parent
6cd20bcd83
commit
1f2a2421f5
3 changed files with 27 additions and 3 deletions
@ -1 +1,9 @@ |
||||
# ContentChild |
||||
# ContentChild |
||||
|
||||
Content queries retrieve results from the elements in the component's content— the elements nested inside the component in the template where it's used. |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@official@Content queries - signal](https://angular.dev/guide/signals/queries#content-queries) |
||||
- [@official@Content queries](https://angular.dev/guide/components/queries#content-queries) |
||||
- [@official@contentChild - API](https://angular.dev/api/core/contentChild) |
||||
|
@ -1 +1,7 @@ |
||||
# Parent-Child Interaction |
||||
# Parent-Child Interaction |
||||
|
||||
In angular parent-child communication is commonly used to share data between two components. |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@article@Medium - Parent-Child Communication](https://jaspritk.medium.com/parent-child-communication-in-angular-888373e0b69e) |
||||
|
@ -1 +1,11 @@ |
||||
# ViewChild |
||||
# ViewChild |
||||
|
||||
View queries retrieve results from the elements in the component's view — the elements defined in the component's own |
||||
template. |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@official@View queries](https://angular.dev/guide/components/queries#view-queries) |
||||
- [@official@viewChild - signal](https://angular.dev/guide/signals/queries#viewchild) |
||||
- [@official@viewChildren - signal](https://angular.dev/guide/signals/queries#viewchildren) |
||||
- [@official@viewChild - API](https://angular.dev/api/core/viewChild) |
||||
|
Loading…
Reference in new issue