MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / clear

Method clear

src/bases/components/SearchBox.ts:191–196  ·  view source on GitHub ↗

* Clear the input

()

Source from the content-addressed store, hash-verified

189 * Clear the input
190 */
191 clear(): void {
192 if (!this.inputEl) return;
193
194 this.inputEl.value = '';
195 this.updateClearButtonVisibility();
196 }
197
198 /**
199 * Clean up event listeners and timers

Callers 15

SearchBoxClass · 0.95
createDetailsSectionFunction · 0.45
registerCommandsMethod · 0.45
clearCacheMethod · 0.45
selectTaskMethod · 0.45
clearSelectionMethod · 0.45
destroyMethod · 0.45
clearAllMethod · 0.45
clearCacheMethod · 0.45
destroyMethod · 0.45
buildProjectIndexMethod · 0.45
invalidateIndexMethod · 0.45

Calls 1

Tested by

no test coverage detected