-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: custom elements
Description
Vue version
3.5.17
Link to minimal reproduction
Steps to reproduce
I want to expose component method as custom element method.
What is expected?
Method inc
should be accessible from DOM.
What is actually happening?
Method inc
is not available.
It seems that you are not able to iterate over reactive object exposed
inside mount hook.
This loop seems not to work:
https://github.com/vuejs/core/blob/main/packages/runtime-dom/src/apiCustomElement.ts#L433
System Info
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.scope: custom elements