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

Method onChildrenChange

packages/designer/src/document/node/node.ts:1163–1166  ·  view source on GitHub ↗
(fn: (param?: { type: string; node: INode }) => void)

Source from the content-addressed store, hash-verified

1161 }
1162
1163 onChildrenChange(fn: (param?: { type: string; node: INode }) => void): IPublicTypeDisposable | undefined {
1164 const wrappedFunc = wrapWithEventSwitch(fn);
1165 return this.children?.onChange(wrappedFunc);
1166 }
1167
1168 mergeChildren(
1169 remover: (node: INode, idx: number) => any,

Callers 1

constructorMethod · 0.95

Calls 2

wrapWithEventSwitchFunction · 0.85
onChangeMethod · 0.65

Tested by

no test coverage detected