mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-12 12:13:58 +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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user