You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Origin page
HI
to register a custom element, window.customElements.define('my-custom-element', MyCustomElement);
I want to unregister a custom element , is there any possibilities?
like(window.customElements.undefine('my-custom-element')
will be helpful if u guys share your insights.
The text was updated successfully, but these errors were encountered:
This is a spec question. It's currently impossible to unregister an element (and there are questions about what that would mean). You can see the spec issue here: WICG/webcomponents#754
Origin page
HI
to register a custom element, window.customElements.define('my-custom-element', MyCustomElement);
I want to unregister a custom element , is there any possibilities?
like(window.customElements.undefine('my-custom-element')
will be helpful if u guys share your insights.
The text was updated successfully, but these errors were encountered: