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

Perhaps this would better fit a different discussion but it would be nice to be able to use the Class name as the tag name.

```js
class MyElement extends HTMLElement {}
customElements.define(MyElement)
```

this would be nice to fit into the above example like so:

```js
const shadow = element.attachShadow({
  mode: 'open',
  customElements: {
    'ul': MyUl,
    'li': MyLi,
    MyElement
  }
})
```

-- 
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-464838676

Received on Monday, 18 February 2019 18:38:05 UTC