How to pass value from child component to parent component in Angular?
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.
Or thishttps://www.c-sharpcorner.com/blogs/angular-how-to-pass-value-from-child-to-parent
Please checkout thishttps://www.tektutorialshub.com/angular/angular-pass-data-to-parent-component/