Answer the question
In order to leave comments, you need to log in
How to call a method in a component?
I'm trying to screw this thing up .
My component is in a hidden component.
About this, the documentation says:
After the component appears, to call the refresh method.
Answer the question
In order to leave comments, you need to log in
If you're using v-show to hide, then there's no way to know when the component appears. In this case, use the add. property to pass to the visibility state component. Or use v-if, then you can call refresh in the mounted() event.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question