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
Adds a Shadow DOM to a Custom Element before rendering
6
-
7
-
```html
8
-
<component-name>
9
-
```
10
-
11
-
For browsers that do not natively support this, it sets the `shadowRoot` and `host` pointers for components that depend on them.
5
+
Extends the [rendering pipeline]() to append a shadow root before rendering a custom element. If the browser does not support shadow roots, it sets the `host`/`shadowRoot` pointers so that a component implementation depending on them works both in the context of a shadow root or without.
0 commit comments