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

One risk here for v1 is that we have `customElements.get` and if we're adding a new `get` method that returns the name given a constructor, then we'll have `customElements.get` and `customElement.getName` (or some other name) which would be quite inconsistent.  Alternatively, we can make `get` return a name or a constructor based on argument but that seems rather odd.

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

Received on Thursday, 6 October 2016 00:34:06 UTC