MCPcopy Create free account
hub / github.com/UNLINEARITY/Obsidian-CodeSpace / setSearchValue

Method setSearchValue

src/code_view.ts:442–447  ·  view source on GitHub ↗
(value: string, selectValue: boolean = true)

Source from the content-addressed store, hash-verified

440 }
441
442 setSearchValue(value: string, selectValue: boolean = true) {
443 this.searchInput.value = value;
444 if (selectValue) {
445 this.searchInput.select();
446 }
447 }
448
449 destroy() {
450 this.panelEl.remove();

Callers 1

openSearchFromHotkeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected