* unlink this node from its parent and document
()
| 477 | * unlink this node from its parent and document |
| 478 | */ |
| 479 | unlink() { |
| 480 | if (this.parent) { |
| 481 | this.parent.children!.unlinkChild(this) |
| 482 | } |
| 483 | this.internalUnlinkParent() |
| 484 | this.document.unlinkNode(this) |
| 485 | } |
| 486 | |
| 487 | /** |
| 488 | * migrate this node to a new parent |
no test coverage detected