MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / makeEvent

Method makeEvent

tools/common/_hyperscript.iife.js:2665–2669  ·  view source on GitHub ↗
(eventName, detail)

Source from the content-addressed store, hash-verified

2663 return elt.matches && elt.matches(selector);
2664 }
2665 makeEvent(eventName, detail) {
2666 var evt = new Event(eventName, { bubbles: true, cancelable: true, composed: true });
2667 evt["detail"] = detail;
2668 return evt;
2669 }
2670 triggerEvent(elt, eventName, detail, sender) {
2671 detail = detail || {};
2672 detail["sender"] = sender;

Callers 1

triggerEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected