I have a nested child component like this:
<app-main>
<child-component />
</app-main>
My appMain
component needs to invoke a method on child-component.
How to invoke a method on the child-component?
See Question&Answers more detail:os