0 votes
in Angular by

Write a code where you have to share data from the Parent to Child Component?

1 Answer

0 votes
by

You have to share the data amongst the components in numerous situations. It may consist of unrelated, parent-child, or child-parent components.

The @Input decorator allows any data to be sent from parent to child.


...