Re: [WICG/webcomponents] [scoped-registries] Interaction with declarative shadow DOM (#914)

A declarative html registry could be another option e.g.:

```js
<head>
  <registry id="my-element-registry">
    <link rel="customelementdefinition" name="some-element-1" url="path/to/some-element-1.js"/>
    <link rel="customelementdefinition" name="some-element-2" url="path/to/some-element-2.js"/>
  </registry>
</head>

<my-element>
  <not-scoped>content</not-scoped>
  <template shadowroot="open" registry="my-element-registry">
    <some-element-1><slot></slot></some-element-1>
    <some-element-2></some-element-2>
  </template>
</my-element>
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/914#issuecomment-798982078

Received on Sunday, 14 March 2021 21:21:58 UTC