Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels