I want to configure a component that performs a survey, and when a button is clicked in the main component, the survey component window opens by the click event. How can I connect the two?
As far as I know, only functions can be used after the (click) event, is there any way to connect a component there??
<button (cilck)="I want to put a component here">
If there is another way, please tell me.
Thank you!