mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
docs: remove obsolete callback argument from dialog.showOpenDialog() (#18496)
This commit is contained in:
committed by
Alexey Kuzmin
parent
a1226d75ff
commit
09d544f6ad
@@ -111,7 +111,6 @@ dialog.showOpenDialogSync(mainWindow, {
|
||||
* `message` String (optional) _macOS_ - Message to display above input
|
||||
boxes.
|
||||
* `securityScopedBookmarks` Boolean (optional) _masOS_ _mas_ - Create [security scoped bookmarks](https://developer.apple.com/library/content/documentation/Security/Conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/doc/uid/TP40011183-CH3-SW16) when packaged for the Mac App Store.
|
||||
* `callback` Function (optional)
|
||||
|
||||
Returns `Promise<Object>` - Resolve with an object containing the following:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user