MCPcopy Index your code
hub / github.com/SortableJS/Sortable / destroyGlobal

Function destroyGlobal

plugins/MultiDrag/MultiDrag.js:475–483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

473 },
474
475 destroyGlobal() {
476 this._deselectMultiDrag();
477 off(document, 'pointerup', this._deselectMultiDrag);
478 off(document, 'mouseup', this._deselectMultiDrag);
479 off(document, 'touchend', this._deselectMultiDrag);
480
481 off(document, 'keydown', this._checkKeyDown);
482 off(document, 'keyup', this._checkKeyUp);
483 },
484
485 _deselectMultiDrag(evt) {
486 if (typeof dragStarted !== "undefined" && dragStarted) return;

Callers

nothing calls this directly

Calls 1

offFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…