- From: Michael Stramel <notifications@github.com>
- Date: Mon, 18 Feb 2019 10:37:43 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 18 February 2019 18:38:05 UTC
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