- From: Ryosuke Niwa <notifications@github.com>
- Date: Mon, 07 Mar 2016 18:51:36 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 8 March 2016 02:52:10 UTC
If being connected to a document was too restrictive, we could add a new flag on element to indicate whether an element is upgradable, and make all elements created by the parser to have that flag turned on by default. e.g. `document.createElement('my-element', {upgrade: true})`. We could also add a helper function on template element e.g. `template.instantiate()`, which does `template.content.cloneNode(true)` and then sets that flag on every single cloned node. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/419#issuecomment-193573193
Received on Tuesday, 8 March 2016 02:52:10 UTC