trusktr / vue-web-component

Generate custom elements from Vue component definitions.
22 stars 3 forks source link

TODO: proxy events to/from Vue component. #4

Open trusktr opened 6 years ago

trusktr commented 6 years ago

Right now, if a Vue component emits an event, it isn't propagated out of the Web Component. We need this!

trusktr commented 6 years ago

Right now this isn't a problem with native DOM events. You can use those.

But if your component send custom Vue events, and parent Vue components (wrapped in a Web Component) need to receive those events, that's not supported yet.

Coming soon!

andtii commented 6 years ago

@trusktr This would be relly nice to have!

quanengineering commented 4 years ago

@trusktr Would be nice if you could deliver this feature. For now, I have to use the Vuex store or global event bus to communicate.