MCPcopy Create free account
hub / github.com/editablejs/editable / dispatchUpdate

Function dispatchUpdate

packages/ui/src/dismissable-layer.tsx:318–321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

316}
317
318function dispatchUpdate() {
319 const event = new CustomEvent(CONTEXT_UPDATE)
320 document.dispatchEvent(event)
321}
322
323function handleAndDispatchCustomEvent<E extends CustomEvent, OriginalEvent extends Event>(
324 name: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…