Re: [w3c/webcomponents] Scoped Custom Element Registries (#716)

to have a easy implamentation of this we would need 
```js
document.createElement('p',class extends ParagraphHTMLElement {})
document.createElement('my-element',class extends HTMLElement {})
```
note that we don't need to supply extends since we don't hornor the is attribute when we create the element our self its not the ui thats upgrading the element .

## Alternativ we could expose upgrade api.
```js
customElements.upgrade(el,class extends ParagraphHTMLElement {})
```

-- 
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/716#issuecomment-569268162

Received on Friday, 27 December 2019 13:19:56 UTC