You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="quote"><templateshadowroot="open"><style>
q {
font-family: Times, "Times New Roman", serif;
font-size: 2em;
}
</style><q>There is strong shadow where there is <slot></slot>.</q><slotname="author">unknown</slot></template>
much light
<e.Authorslot="author">― Johann Wolfgang von Goethe.</e.Author></div>
So, far I was able to make everything render in shadow root, but I'd like my component to distribute also light DOM.
How could I add some light content to the shadow host?
The text was updated successfully, but these errors were encountered:
I would like to use
slot
element in my shadow root, to distribute some light there.https://codesandbox.io/s/react-shadow-forked-ecmem?file=/public/index.html:1591-1932
So, far I was able to make everything render in shadow root, but I'd like my component to distribute also light DOM.
How could I add some light content to the shadow host?
The text was updated successfully, but these errors were encountered: