MCPcopy Index your code
hub / github.com/DeepNotesApp/DeepNotes / destroy

Function destroy

packages/@stdlib/misc/src/dom.ts:100–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 let dragging = false;
99
100 function destroy() {
101 clearTimeout(dragStartTimeout);
102
103 document.removeEventListener('pointermove', onPointerMove);
104
105 document.removeEventListener('pointerup', onPointerUp);
106 document.removeEventListener('pointercancel', onPointerUp);
107 }
108
109 function cancel(external: boolean) {
110 options.dragCancel?.(downEvent, external);

Callers 2

cancelFunction · 0.85
onPointerUpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected