Created
January 27, 2019 17:51
-
-
Save pinkhominid/fda6bfffd500eff40e840e3519031ef5 to your computer and use it in GitHub Desktop.
Get super class name of registered custom element
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.getPrototypeOf(customElements.get('my-custom-element')).name | |
// "HTMLElement" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment