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

Method makeEvent

www/js/_hyperscript.js:2678–2682  ·  view source on GitHub ↗
(eventName, detail)

Source from the content-addressed store, hash-verified

2676 return elt.matches && elt.matches(selector);
2677 }
2678 makeEvent(eventName, detail) {
2679 var evt = new Event(eventName, { bubbles: true, cancelable: true, composed: true });
2680 evt["detail"] = detail;
2681 return evt;
2682 }
2683 triggerEvent(elt, eventName, detail, sender) {
2684 detail = detail || {};
2685 detail["sender"] = sender;

Callers 1

triggerEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected