ElectronDialog.showOpenDialog method
ElectronDialog › showOpenDialog
Unofficial
Shows an open file dialog.Signature:
showOpenDialog(browserWindow: ElectronBrowserWindow, options: ElectronOpenDialogOptions): Promise<ElectronOpenDialogReturnValue>Parameters:
| Parameter | Type | Description |
|---|---|---|
| browserWindow | ElectronBrowserWindow | The parent window. |
| options | ElectronOpenDialogOptions | The open dialog options. |
Returns: Promise<ElectronOpenDialogReturnValue> — The selected file paths.
Unofficial
Shows an open file dialog.Signature:
showOpenDialog(options: ElectronOpenDialogOptions): Promise<ElectronOpenDialogReturnValue>Parameters:
| Parameter | Type | Description |
|---|---|---|
| options | ElectronOpenDialogOptions | The open dialog options. |
Returns: Promise<ElectronOpenDialogReturnValue> — The selected file paths.