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

Method emitPropChange

packages/core/src/document/node/node.ts:743–745  ·  view source on GitHub ↗
(prop: any)

Source from the content-addressed store, hash-verified

741 }
742
743 emitPropChange(prop: any) {
744 this.emitter.emit(NODE_EVENT.PROP_CHANGE, prop)
745 }
746
747 onPropChange(listener: (info: any) => void) {
748 this.emitter.on(NODE_EVENT.PROP_CHANGE, listener)

Callers 1

setValueMethod · 0.80

Calls 1

emitMethod · 0.45

Tested by

no test coverage detected