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

Function closePipWindow

packages/query-devtools/src/contexts/PiPContext.tsx:47–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46 // Close pipWindow programmatically
47 const closePipWindow = () => {
48 const w = pipWindow()
49 if (w != null) {
50 w.close()
51 props.setLocalStore('pip_open', 'false')
52 setPipWindow(null)
53 }
54 }
55
56 // Open new pipWindow
57 const requestPipWindow = (width: number, height: number) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected