Angular: Component Communications (Parent to Child)
March 31, 2020
Passing data from the Parent down to the Child component is quite straight forward. The only requirement is for the Child component to import the Input class to receive the input. In the Child component, it would use the
@Input() decorator to receive the input data from a Parent component.
Note: In Angular, the Child component has no way of knowing its parent component.