MCPcopy
hub / github.com/midrender/revideo / remove

Method remove

packages/2d/src/lib/components/Node.ts:748–757  ·  view source on GitHub ↗

* Remove this node from the tree.

()

Source from the content-addressed store, hash-verified

746 * Remove this node from the tree.
747 */
748 public remove(): this {
749 const current = this.parent();
750 if (current === null) {
751 return this;
752 }
753
754 current.removeChild(this);
755 this.parent(null);
756 return this;
757 }
758
759 /**
760 * Rearrange this node in relation to its siblings.

Callers 6

disposeMethod · 0.45
disposeFunction · 0.45
insertMethod · 0.45
disposeMethod · 0.45
StageViewFunction · 0.45
withLoaderFunction · 0.45

Calls 1

removeChildMethod · 0.80

Tested by

no test coverage detected