I have one component with
Render(){ return (<Host><my-component><button onclick={}></button></my-component></Host>); }
How can i inkove my-component1 from my-component based on button-click event and pass some parameter?
I have another component
Render(){ return (<Host><my-component1></my-component1></Host>); }
Tried calling my-component1 in onClick function. did not work`