MCPcopy Create free account
hub / github.com/Comfy-Org/litegraph.js / close

Method close

src/LGraphCanvas.ts:6207–6212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6205 ? "<span class='name'></span> <textarea autofocus class='value'></textarea><button class='rounded'>OK</button>"
6206 : "<span class='name'></span> <input autofocus type='text' class='value'/><button class='rounded'>OK</button>",
6207 close() {
6208 that.prompt_box = null
6209 if (dialog.parentNode) {
6210 dialog.remove()
6211 }
6212 },
6213 } satisfies Partial<IDialog>
6214
6215 const div = document.createElement("div")

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected