Answer the question
In order to leave comments, you need to log in
How to close a component?
There is a parent component inside which there are two others:
<app-parent>
<app-child [type]="type == 'a'"></app-child>
<app-child [type]="type == 'b'"></app-child>
</app-parent>
<app-child [type]="type == 'a'"></app-child>
there is a button component:<app-child [type]="type == 'b'">
<app-button [save]="callback($event)"></app-button>
</app-child>
<app-child [type]="type == 'b'">
on the page when I receive a callback from a button inside the component itself? Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question