()
| 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") |