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

Function off

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

Source from the content-addressed store, hash-verified

1579 }
1580
1581 function off(element, name, callback) {
1582 element.removeEventListener(name, callback);
1583 }
1584
1585 on(document, 'keydown', function(e) {
1586 if(!e.altKey && !e.ctrlKey && !e.metaKey) {

Callers 4

mousedownFunction · 0.85
mouseupFunction · 0.85
touchstartFunction · 0.85
touchendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected