How to use a custom renderer to handle events #13735
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am writing a custom renderer using '@vue/runtime-core', but I encountered problems when handling the event triggers of components.
The above example will not print 'emit yi' after the app is mounted.
I checked https://github.com/vuejs/core/blob/main/packages/runtime-test/src/triggerEvent.ts
It does not demonstrate how to handle the $emit function in the component.
Beta Was this translation helpful? Give feedback.
All reactions