Web Components (Lit) #2340
Replies: 2 comments 3 replies
-
I ran into a similar issue using Stencil.js. The CSS portion of the components can be imported without a problem, but the JS portions don't work. When I dug deeper into it, I found that the TWE selector engine (/src/js/dom/selector-engine.js) appears incapable of crossing the Shadow DOM boundary. My solution was to default to light DOM. It would be great if TWE would support shadow DOM. |
Beta Was this translation helpful? Give feedback.
-
Hi, unfortunately we don't have any documentation for integrating TW Elements with Lit Web Components. Maybe it will be a new feature in future releases. We can't also help you with this issue because we don't have enough experience with Lit Web Components. Maybe someone from community will help you with it. |
Beta Was this translation helpful? Give feedback.
-
Is there any documentation for integrating TW Elements with Lit Web Components? I can get them to render but the js interactions aren't working such as the tooltip. Is it a scoping issue or shadowRoot issue?
Beta Was this translation helpful? Give feedback.
All reactions