How can i know if Parent component pass a function to Child component #6481
Answered
by
edison1105
Watanuki12138
asked this question in
Help/Questions
-
Parent1.vue pass 'test' function do something
Parent2.vue
|
Beta Was this translation helpful? Give feedback.
Answered by
edison1105
Aug 16, 2022
Replies: 1 comment 2 replies
-
use |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Watanuki12138
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use
context.attrs
. see demo