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
registered a custom element using customElements.define('web-test'). However, when I try to delete the <web-test></web-test> element from the HTML, I always get the following error:
Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
Is there an alternative method to remove a custom element that has been registered in HTML without encountering this error?