MCPcopy
hub / github.com/callumalpass/tasknotes / destroy

Method destroy

src/modals/taskModalFocusGuards.ts:107–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 }
106
107 destroy(): void {
108 for (const cleanup of this.mobileKeyboardFocusCleanups) {
109 cleanup();
110 }
111 this.mobileKeyboardFocusCleanups = [];
112
113 const win = this.getWindow();
114 for (const timer of this.mobileKeyboardScrollTimers) {
115 win.clearTimeout(timer);
116 }
117 this.mobileKeyboardScrollTimers = [];
118 this.elements.containerEl.removeClass("is-mobile-keyboard-focused");
119 this.pendingTitleFocusScrollPositions = null;
120 }
121
122 captureTitleFocusScrollPositions(
123 input: TaskModalTitleInputElement

Callers

nothing calls this directly

Calls 2

getWindowMethod · 0.95
clearTimeoutMethod · 0.65

Tested by

no test coverage detected