Angular video series - #4 Component communication

Опубликовано: 10 Январь 2025
на канале: Code with Sloba
3,259
137

In this tutorial you will learn more about Angular component communication.

An Angular application usually consists of many separated components and in order to make them work together, we need communication between them.

You can think of components as family members and if communication between the parents and kids is fluent and efficient your home will be a happy place.

caption “And home is your app”

There are four ways to communicate between the Angular components
1. Binding (@Input & @Output)
2. Reference (@ViewChild & @ContentChild)
3. Provider (Service)
4. Template Outlet


************************************************************

0:00 Intro
0:50 Parent to Child: using Input Decorator
2:20 Child to Parent: using Output Decorator
4:10 Child to Parent: using ViewChild

************************************************************
Previous Video:    • Angular video series - #3 Text interp...  
Next video:    • Angular video series - #5 Component s...  
Full series:    • Full Angular Course  
************************************************************
Linkedin: link   / slobodan-gajic  
Portfolio: https://bobangajicsm.github.io/portfo...
Twitter:   / _slobodangajic_  
************************************************************