1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-04-09 01:42:01 +02:00

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 content
This commit is contained in:
Konrad Stępień 2024-08-12 10:24:59 +02:00 committed by GitHub
parent 6cd20bcd83
commit 1f2a2421f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 27 additions and 3 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)