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

If I'm reading the last set of comments correctly, an addition of `customElements.getName()` would have support from Chromium and WebKit. Someone would have to do the specification and testing work required though. (This would not return the local name, but the name of a custom element, to be clear. I doubt we would get consensus on local name given that WebKit does not support the `is` attribute.)

I think Gecko can also be supportive of this. (I also agree with @domenic now that overloading this with `get()` is weird. Not sure why I advocated for that in the past…)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/566#issuecomment-882359087

Received on Monday, 19 July 2021 08:36:38 UTC