When use DefineCustomElement, how to catch component's emit(update:modelValue)? #10094
-
i read this issues.(#6555) but i can't receive component's emit about update:modelValue
I tried the above method but failed Additional information.
The project I am using web component is vue2. I'm Using it as below.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
i have some mistake. 'onUpdate:modelValue': (...args) => emit("update:modelValue", ...args), that render expression works nice. thanks. |
Beta Was this translation helpful? Give feedback.
i have some mistake.
'onUpdate:modelValue': (...args) => emit("update:modelValue", ...args),
that render expression works nice. thanks.