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

Method makeEvent

www/js/_hyperscript.esm.js:2676–2680  ·  view source on GitHub ↗
(eventName, detail)

Source from the content-addressed store, hash-verified

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

Callers 1

triggerEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected