| 73 | /** | 73 | /** |
| 74 | * Asynchronously displays an input popup with the given header and text, and returns the user's input. | 74 | * Asynchronously displays an input popup with the given header and text, and returns the user's input. |
| 75 | * | 75 | * |
| 76 | * @param {string} header - The header text for the popup. | 76 | * @param {string?} header - The header text for the popup. |
| 77 | * @param {string} text - The main text for the popup. | 77 | * @param {string?} text - The main text for the popup. |
| 78 | * @param {string} [defaultValue=''] - The default value for the input field. | 78 | * @param {string} [defaultValue=''] - The default value for the input field. |
| 79 | * @param {PopupOptions} [popupOptions={}] - Options for the popup. | 79 | * @param {PopupOptions} [popupOptions={}] - Options for the popup. |
| 80 | * @return {Promise<string?>} A Promise that resolves with the user's input. | 80 | * @return {Promise<string?>} A Promise that resolves with the user's input. |