- From: Frank Lemanschik <notifications@github.com>
- Date: Tue, 24 Dec 2019 00:50:41 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 24 December 2019 08:50:43 UTC
@rniwa your right i want to upgrade a existing element with all expected behavior of a ```js customElement.defined('elemen-name', class extends HTMLElement /* also support build in but that is probally covered as its already constructed*/) ``` - should allow observe attributes and reflect - should add livecycle callbacks and call connectedCallback on init - when it gets moved to new document it should call adoptedCallback out of myView thats it but full inernals may have more behavior to much to list here I Think i realy could use Object.assign(document.createElement(''), classOrObject) I think the only complicated part is the attribute observation but maybe there is more If all that is not possible i think i could even use a customElementV1 polyfill implamentation to have my OwnCustom Element Implamentation but thats maybe not worth it. -- 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/861#issuecomment-568696997
Received on Tuesday, 24 December 2019 08:50:43 UTC