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

Method postEvent

packages/core/src/simulator/simulator.ts:277–279  ·  view source on GitHub ↗
(eventName: string, ...data: any[])

Source from the content-addressed store, hash-verified

275 }
276
277 postEvent(eventName: string, ...data: any[]) {
278 this.emitter.emit(eventName, ...data)
279 }
280
281 linkSnippet(ref: HTMLElement, snippet: Snippet) {
282 return this.designer.dragon.from(ref, () => ({

Callers 2

checkSelectMethod · 0.45
mountMethod · 0.45

Calls 1

emitMethod · 0.45

Tested by

no test coverage detected