mirror of
https://github.com/electron/electron.git
synced 2026-01-10 16:08:06 -05:00
docs: Fix incorrect dialog docs (#18227)
* docs: Fix incorrect dialog docs We had multiple definitions for `showSaveDialog`. * docs: Update, take two
This commit is contained in:
committed by
Shelley Vohr
parent
8b5473c170
commit
cb4579fe28
@@ -154,7 +154,7 @@ dialog.showOpenDialog(mainWindow, {
|
||||
})
|
||||
```
|
||||
|
||||
### `dialog.showSaveDialog([browserWindow, ]options)`
|
||||
### `dialog.showSaveDialogSync([browserWindow, ]options)`
|
||||
|
||||
* `browserWindow` [BrowserWindow](browser-window.md) (optional)
|
||||
* `options` Object
|
||||
|
||||
Reference in New Issue
Block a user