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. |
Beta Was this translation helpful? Give feedback.
-
In fact I was thinking more of creating shells around content. That would render the content of the element wrapped in some other html |
Beta Was this translation helpful? Give feedback.
-
Hello. Is there a way to use slots/html content provided inside the component?
Beta Was this translation helpful? Give feedback.
All reactions