MCPcopy Create free account
hub / github.com/TanStack/devtools / closePipWindow

Function closePipWindow

packages/devtools/src/context/pip-context.tsx:35–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 const [pipWindow, setPipWindow] = createSignal<Window | null>(null)
34
35 // Close pipWindow programmatically
36 const closePipWindow = () => {
37 const w = pipWindow()
38 if (w != null) {
39 w.close()
40 setPipWindow(null)
41 }
42 }
43
44 // Open new pipWindow

Callers 1

requestPipWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected