Replies: 2 comments
|
Hi @pdanpdan! We cannot use slots as Cami inherits from the Light DOM and does not use the Shadow DOM / Shadow Root. I found a few issues with the shadow DOM:
For users who want to isolate styles but want to use web components (with no shadow DOM), you can add isolated styles with goober, which generates class names and allows you to insert it into the html tagged template. If slots are important for you, Lit might be a better choice. |
0 replies
|
In fact I was thinking more of creating shells around content. That would render the content of the element wrapped in some other html |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello. Is there a way to use slots/html content provided inside the component?
All reactions