Interviews3 answers
How to pass value from child component to parent component in Angular?
3 Answers
Ashok KumawatPosted Jan 4, 2022, 2:56 AM EST
Please checkout this
https://www.tektutorialshub.com/angular/angular-pass-data-to-parent-component/
Ashok KumawatPosted Jan 4, 2022, 2:55 AM EST
Using OutPut Property.
Syntax :-
this.property_Name.emit(variable_Name);
We can also create the instance of child component on the parent component using “@ViewChild” and get the value of any member of child component.
vaibhav saxenaPosted Jan 2, 2022, 11:21 AM EST

