Re: [w3c/webcomponents] Is there a way to retrieve the localName from a custom element constructor? (#566)

Yeah, bouncing ideas off @bradleyayers helped. Though, maybe we're missing something with the theoretical implementation. I know with some built-ins this isn't reliable:

```js
// true
document.createElement('blockquote').constructor === document.createElement('q').constructor;
```

In my mind it *should* work because you can't reuse the same class for multiple components, though I feel like I'm missing something.

-- 
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/566#issuecomment-247946667

Received on Monday, 19 September 2016 09:24:29 UTC