- From: Ryosuke Niwa <notifications@github.com>
- Date: Mon, 08 Jan 2018 23:33:50 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 8 January 2018 23:34:12 UTC
Right now, there is no way to create a shadow root automatically via `customElements.define`. We certainly can't change the behavior of `attachShadow`'s behavior on custom elements at this point since we've been shipping shadow DOM for two years and custom elements for one year. So I think this is a consideration for the future when we add a mechanism to automatically attach a shadow root when upgrading/instantiating a custom 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/w3c/webcomponents/issues/723#issuecomment-356130661
Received on Monday, 8 January 2018 23:34:12 UTC