Answer the question
In order to leave comments, you need to log in
How can I reference a component's function from another component?
There are two components, one has a function that needs to be executed in the other component when the button is clicked.
How to export it or refer to it in the component with events?
Answer the question
In order to leave comments, you need to log in
If these components are not connected in any way, the best option is eventBus, read about it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question