MCPcopy
hub / github.com/nwutils/nw-sample-apps / e_target

Function e_target

mini-code-edit/cm/lib/codemirror.js:2844–2844  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

2842 CodeMirror.e_stopPropagation = e_stopPropagation;
2843
2844 function e_target(e) {return e.target || e.srcElement;}
2845 function e_button(e) {
2846 if (e.which) return e.which;
2847 else if (e.button & 1) return 1;

Callers 2

onMouseDownFunction · 0.85
onDoubleClickFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected