node-projects / base-custom-webcomponent

a basic simple custom webcomponent class
BSD 3-Clause "New" or "Revised" License
8 stars 4 forks source link

Optional Shadow DOM #17

Open justforcomment opened 5 months ago

justforcomment commented 5 months ago

Hello! Great job!

Is it possible not to use shadow dom at the moment? Perhaps by overriding properties or methods?

Motivation:

jogibear9988 commented 5 months ago

This is not possible with this library, and also not planed. ShadowDom is in all the major browsers since 2016 ( https://caniuse.com/shadowdomv1 , okay FireFox 2018).

If open styleable shadowroots will we a thing, then we will support it.