ViewChild and ViewChildren provide access to the child component class from the parent component. Something like Inheritance.
If we want to invoke a specific function in child component from a parent component then we can make use of @ViewChild and @ViewChildren.
Continue reading “@ViewChild and @ViewChildren”
Input and Output are two decorators in angular responsible for communication between two components.
In this post we’ll look into how to pass the data to the components using @Input and to get the data back flowing with @Output.
Continue reading “@Input and @Output in Angular”