MCPcopy Create free account
hub / github.com/PaulleDemon/PyUIBuilder / trigger

Function trigger

src/components/utils/panzoom.js:125–131  ·  view source on GitHub ↗
(eventName, detail, opts)

Source from the content-addressed store, hash-verified

123 })
124
125 function trigger(eventName, detail, opts) {
126 if (opts.silent) {
127 return
128 }
129 const event = new CustomEvent(eventName, { detail })
130 elem.dispatchEvent(event)
131 }
132
133 function setTransformWithEvent(
134 eventName,

Callers 3

setTransformWithEventFunction · 0.85
handleDownFunction · 0.85
handleUpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected