MCPcopy
hub / github.com/jscad/OpenJSCAD.org / on

Function on

src/ui/viewer/lightgl.js:1577–1579  ·  view source on GitHub ↗
(element, name, callback)

Source from the content-addressed store, hash-verified

1575 }
1576
1577 function on(element, name, callback) {
1578 element.addEventListener(name, callback);
1579 }
1580
1581 function off(element, name, callback) {
1582 element.removeEventListener(name, callback);

Callers 7

mousedownFunction · 0.85
mouseupFunction · 0.85
touchstartFunction · 0.85
touchendFunction · 0.85
addEventListenersFunction · 0.85
lightgl.jsFile · 0.85
addOtherMethodsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected