Closed nojaf closed 1 year ago
Ok, silly me, I just found that you can do this:
component(GreenCategory , { useShadowDOM: false})
Would you accept a PR to add this somewhere in the documentation?
@nojaf It's in the docs now: https://hauntedhooks.netlify.app/docs/guides/getting-started/#use
Thanks!
Hello, I'd like to create a webcomponent that doesn't have a shadow dom. In pure Lit I can do something like:
The
will prevent a shadow dom from being created. (ref: https://lit.dev/docs/components/shadow-dom/#implementing-createrenderroot)
Can I do something similar in haunted?