Skip to content

ElectronDialog.showSaveDialog method

ElectronDialog › showSaveDialog

Unofficial

Shows a save file dialog.

Signature:

showSaveDialog(browserWindow: ElectronBrowserWindow, options: ElectronSaveDialogOptions): Promise<ElectronSaveDialogReturnValue>

Parameters:

Parameter Type Description
browserWindow ElectronBrowserWindow The parent window.
options ElectronSaveDialogOptions The save dialog options.

Returns: Promise<ElectronSaveDialogReturnValue>The selected file path.


Unofficial

Shows a save file dialog.

Signature:

showSaveDialog(options: ElectronSaveDialogOptions): Promise<ElectronSaveDialogReturnValue>

Parameters:

Parameter Type Description
options ElectronSaveDialogOptions The save dialog options.

Returns: Promise<ElectronSaveDialogReturnValue>The selected file path.