Replies: 1 comment
-
Please, use the Discord chat to ask questions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are three components on the page, which are displayed and hidden using the v-show control. Each component uses my custom command "v-aniFromLeft". My expectation is that the current component will have a callback when displayed or hidden, to facilitate subsequent operations.
I know the updated lifecycle function,
which can listen for changes, but when other components switch, updated will also execute, which can result in many unnecessary calls.
Thank you for taking the time to read this question. If there is a better way, we can also discuss it.
Beta Was this translation helpful? Give feedback.
All reactions