From 1f2a2421f52603c89f7084a9266b94776fb7bbd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20St=C4=99pie=C5=84?= Date: Mon, 12 Aug 2024 10:24:59 +0200 Subject: [PATCH] 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 --- .../content/contentchild@oQl9etjoHiU2JgxieUOEH.md | 10 +++++++++- ...parent-child-interaction@TDyFjKrIZJnCjEZsojPNQ.md | 8 +++++++- .../content/viewchild@v0XaLNZ-YrRqP-xv8wS43.md | 12 +++++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/data/roadmaps/angular/content/contentchild@oQl9etjoHiU2JgxieUOEH.md b/src/data/roadmaps/angular/content/contentchild@oQl9etjoHiU2JgxieUOEH.md index 3ee7292cb..b30b5ed5f 100644 --- a/src/data/roadmaps/angular/content/contentchild@oQl9etjoHiU2JgxieUOEH.md +++ b/src/data/roadmaps/angular/content/contentchild@oQl9etjoHiU2JgxieUOEH.md @@ -1 +1,9 @@ -# ContentChild \ No newline at end of file +# 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) diff --git a/src/data/roadmaps/angular/content/parent-child-interaction@TDyFjKrIZJnCjEZsojPNQ.md b/src/data/roadmaps/angular/content/parent-child-interaction@TDyFjKrIZJnCjEZsojPNQ.md index c271a8c88..44ce58eca 100644 --- a/src/data/roadmaps/angular/content/parent-child-interaction@TDyFjKrIZJnCjEZsojPNQ.md +++ b/src/data/roadmaps/angular/content/parent-child-interaction@TDyFjKrIZJnCjEZsojPNQ.md @@ -1 +1,7 @@ -# Parent-Child Interaction \ No newline at end of file +# 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) diff --git a/src/data/roadmaps/angular/content/viewchild@v0XaLNZ-YrRqP-xv8wS43.md b/src/data/roadmaps/angular/content/viewchild@v0XaLNZ-YrRqP-xv8wS43.md index 7041da4e8..30f7edcc3 100644 --- a/src/data/roadmaps/angular/content/viewchild@v0XaLNZ-YrRqP-xv8wS43.md +++ b/src/data/roadmaps/angular/content/viewchild@v0XaLNZ-YrRqP-xv8wS43.md @@ -1 +1,11 @@ -# ViewChild \ No newline at end of file +# 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)