Communicate from Parent to Child Component - Angular 5 (Tutorial #13)
У вашего броузера проблема в совместимости с HTML5
Hello Friends,
In this video we will learn how to communicate from parent to child component using @Input() decorator in Angular 5
Angular is a component based framework and when we talk about mulitple components communication across components is also required.
When you want to pass data from parent component to child component then we need to bind our variable which we want to pass to child component to a property binding syntax.
and property binding variable we need to create in child component as well and then we need to decorate that variable using a pre defined decorator called @Input() .
@Input() is a decorator that basically used to take input from parent component and import that decorator from '@angular/core' library.
If you liked my channel , subscribe to it and like my videos. For any queries ask you question in comment section
you can also connect with me @
Facebook: https://www.facebook.com/AngularJS4Beginners
LinkedIn: https://www.linkedin.com/in/nisha-singla-82407aa0/
Website : http://nishasingla.com/