MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / didDropOut

Method didDropOut

packages/designer/src/document/node/node.ts:547–556  ·  view source on GitHub ↗
(dragment: INode)

Source from the content-addressed store, hash-verified

545 }
546
547 didDropOut(dragment: INode) {
548 const { callbacks } = this.componentMeta.advanced;
549 if (callbacks?.onNodeRemove) {
550 const cbThis = this.internalToShellNode();
551 callbacks?.onNodeRemove.call(cbThis, dragment.internalToShellNode(), cbThis);
552 }
553 if (this._parent) {
554 this._parent.didDropOut(dragment);
555 }
556 }
557
558 /**
559 * 内部方法,请勿使用

Callers

nothing calls this directly

Calls 3

internalToShellNodeMethod · 0.95
internalToShellNodeMethod · 0.65
didDropOutMethod · 0.65

Tested by

no test coverage detected