MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / onChildrenChange

Method onChildrenChange

packages/core/src/document/node/node.ts:739–741  ·  view source on GitHub ↗
(listener: (info?: { type: string; node: Node }) => void)

Source from the content-addressed store, hash-verified

737 }
738
739 onChildrenChange(listener: (info?: { type: string; node: Node }) => void) {
740 return this.children?.onChange(listener)
741 }
742
743 emitPropChange(prop: any) {
744 this.emitter.emit(NODE_EVENT.PROP_CHANGE, prop)

Callers 3

constructorMethod · 0.95
initRerenderEventFunction · 0.80

Calls 1

onChangeMethod · 0.65

Tested by

no test coverage detected