MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / makeEvent

Method makeEvent

src/core/runtime/runtime.js:690–694  ·  view source on GitHub ↗
(eventName, detail)

Source from the content-addressed store, hash-verified

688 }
689
690 makeEvent(eventName, detail) {
691 var evt = new Event(eventName, { bubbles: true, cancelable: true, composed: true });
692 evt['detail'] = detail;
693 return evt;
694 }
695
696 triggerEvent(elt, eventName, detail, sender) {
697 detail = detail || {};

Callers 1

triggerEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected