- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 23 Aug 2017 18:42:28 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 23 August 2017 18:43:02 UTC
Here's a serialization of that:
```js
<parent-element>
</parent-element>
<script>
"use strict";
const shadowRoot = document.currentScript.previousElementSibling.attachShadow({ mode: "open" });
shadowRoot.innerHTML = `<child-element></child-element>`;
const shadowRoot2 = shadowRoot.firstElementChild.attachShadow({ mode: "open" });
shadowRoot2.innerHTML = `<foo-bar>...</foo-bar>`;
</script>
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/657#issuecomment-324425895
Received on Wednesday, 23 August 2017 18:43:02 UTC