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

Method didDropIn

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

Source from the content-addressed store, hash-verified

534 }
535
536 didDropIn(dragment: INode) {
537 const { callbacks } = this.componentMeta.advanced;
538 if (callbacks?.onNodeAdd) {
539 const cbThis = this.internalToShellNode();
540 callbacks?.onNodeAdd.call(cbThis, dragment.internalToShellNode(), cbThis);
541 }
542 if (this._parent) {
543 this._parent.didDropIn(dragment);
544 }
545 }
546
547 didDropOut(dragment: INode) {
548 const { callbacks } = this.componentMeta.advanced;

Callers

nothing calls this directly

Calls 3

internalToShellNodeMethod · 0.95
internalToShellNodeMethod · 0.65
didDropInMethod · 0.65

Tested by

no test coverage detected