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 // Close pipWindow programmatically
34 const closePipWindow = () => {
35 const w = pipWindow()
36 if (w != null) {
37 w.close()
38 setPipWindow(null)
39 }
40 }
41
42 // Open new pipWindow
43 const requestPipWindow = (settings: string) => {
44 // We don't want to allow multiple requests.

Callers 1

requestPipWindowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected