MCPcopy
hub / github.com/koala73/worldmonitor / close

Method close

src/components/SearchModal.ts:87–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 }
86
87 public close(): void {
88 if (this.overlay) {
89 this.overlay.remove();
90 this.overlay = null;
91 this.input = null;
92 this.resultsList = null;
93 this.results = [];
94 this.commandResults = [];
95 this.selectedIndex = 0;
96 }
97 }
98
99 public isOpen(): boolean {
100 return this.overlay !== null;

Callers 15

createModalMethod · 0.95
handleKeydownMethod · 0.95
selectResultMethod · 0.95
initSettingsWindowFunction · 0.45
closeSettingsWindowFunction · 0.45
exportPdfMethod · 0.45
setupSearchModalMethod · 0.45
closeDBFunction · 0.45
resetStoreFunction · 0.45
connectUpstreamFunction · 0.45
ais-relay.cjsFile · 0.45

Calls

no outgoing calls

Tested by 1

closeFunction · 0.36