- From: Lukas Bombach <notifications@github.com>
- Date: Mon, 07 Aug 2017 09:54:26 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 7 August 2017 09:54:47 UTC
+1 on accessing the shadow dom from a script node. How do you propose to do something like this ```html <template id="component"> <div id="some-div"></div> <link href="/static/css/main.cacbacc7.css" rel="stylesheet"> <script src="/static/js/bundle.js" type="text/javascript"></script> </template> ``` *bundle.js* const myDom = window.currentScript.ownerDocument.querySelector('#some-div'); -- 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/477#issuecomment-320621565
Received on Monday, 7 August 2017 09:54:47 UTC