MCPcopy Create free account
hub / github.com/sql-js/sql.js / signalDOMEvent

Function signalDOMEvent

GUI/codemirror/lib/codemirror.js:6925–6928  ·  view source on GitHub ↗
(cm, e, override)

Source from the content-addressed store, hash-verified

6923 // registering a (non-DOM) handler on the editor for the event name,
6924 // and preventDefault-ing the event in that handler.
6925 function signalDOMEvent(cm, e, override) {
6926 signal(cm, override || e.type, cm, e);
6927 return e_defaultPrevented(e) || e.codemirrorIgnore;
6928 }
6929
6930 function signalCursorActivity(cm) {
6931 var arr = cm._handlers && cm._handlers.cursorActivity;

Callers 9

registerEventHandlersFunction · 0.85
drag_Function · 0.85
onMouseDownFunction · 0.85
onDropFunction · 0.85
onDragStartFunction · 0.85
onKeyDownFunction · 0.85
onKeyUpFunction · 0.85
onKeyPressFunction · 0.85
onContextMenuFunction · 0.85

Calls 1

e_defaultPreventedFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…