WebReflection / uce-template

A Vue 3 inspired Custom Elements toolless alternative.
https://medium.com/@WebReflection/a-new-web-components-wonder-f9e042785a91
ISC License
108 stars 7 forks source link

Allow attributes to the component itself #5

Open WebReflection opened 3 years ago

WebReflection commented 3 years ago

The current logic deals well with components content, but not with components themselves:

Screenshot from 2020-12-28 16-59-52

WebReflection commented 3 years ago

Update I think props here solve it all and the fact events can be set in the definition helps too ... I need to re-think if this is even a bug, or an inevitable design choice.