Angular Framework is built upon small components so passing the data from Parent component to child component is a little bit tricky, In that scenario, @Input and @Output Decorator comes in handy.  You can define the properties for components you create, and make them available in your whole application.

Angular components have a better way of notifying parent components that something has changed via events. Inputs specify which properties you can set on a component from a parent, whereas “Outputs” identifies the events a component can fire to send information up the hierarchy to its parent from its child component.

#angular #angular cli #inputs #outputs

Angular Input Output: Angular 9 @Input and @Output
4.65 GEEK