Re: [WICG/webcomponents] add `node.isCustomElement` property (Issue #1080)

It's not so sexy, and will have different implications in the world of Scoped Registries, but you can `customElements.getName(el.constructor)` and get a string when it's a custom element or null when it is not...

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

Message ID: <WICG/webcomponents/issues/1080/2417455407@github.com>

Received on Wednesday, 16 October 2024 17:23:04 UTC