MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / destroy

Method destroy

src/pages/quickTools/quickTools.js:408–424  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

406 }
407
408 destroy() {
409 if (this.longPressTimer) clearTimeout(this.longPressTimer);
410 this.longPressTimer = null;
411
412 if (this.dragState) {
413 if (this.dragState.ghost) {
414 this.dragState.ghost.remove();
415 }
416 if (this.dragState.el) {
417 this.dragState.el.classList.remove("dragging");
418 }
419 }
420
421 this.cleanupHighlight();
422 this.dragState = null;
423 this.potentialTarget = null;
424 }
425}

Callers 12

QuickToolsFunction · 0.95
renderMethod · 0.95
startDragMethod · 0.95
destroyPreviewFunction · 0.45
FileBrowserIncludeFunction · 0.45
pasteCopiedItemsFunction · 0.45
callbackFunction · 0.45
getDirFunction · 0.45
createFunction · 0.45
exitMethod · 0.45
onCloseMethod · 0.45
killProcessTreeMethod · 0.45

Calls 2

cleanupHighlightMethod · 0.95
removeMethod · 0.45

Tested by

no test coverage detected