(purge = true, useMutator = true)
| 538 | |
| 539 | @action |
| 540 | remove(purge = true, useMutator = true) { |
| 541 | if (this.parent) { |
| 542 | this.document.designer.postEvent(DESIGNER_EVENT.NODE_REMOVE, { |
| 543 | node: this, |
| 544 | index: this.index, |
| 545 | }) |
| 546 | this.parent.children?.internalDelete(this, purge, useMutator) |
| 547 | } |
| 548 | } |
| 549 | |
| 550 | removeChild(node: Node) { |
| 551 | this.children?.delete(node) |
no test coverage detected