MCPcopy Index your code
hub / github.com/npmx-dev/npmx.dev / close

Function close

app/composables/useModal.ts:13–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 }
12
13 function close() {
14 const modal = getModal()
15 if (modal) {
16 modal.close()
17 }
18 }
19
20 return {
21 open,

Callers 5

closeThenFunction · 0.70
runThenAnnounceFunction · 0.70
closeThenFunction · 0.70
submitSearchQueryFunction · 0.70

Calls 1

getModalFunction · 0.85

Tested by

no test coverage detected