ShowOpenDialog Type
Constructors
| Constructor |
Description
|
Full Usage:
ShowOpenDialog(canceled, filePaths, ?bookmarks)
Parameters:
bool
-
whether or not the dialog was canceled.
filePaths : string[]
-
An array of file paths chosen by the user. If the dialog is cancelled this will be an empty
array.
?bookmarks : string[]
-
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ✔ || An array matching the
filePaths array of base64 encoded strings which contains security scoped bookmark data. securityScopedBookmarks must be enabled for this to be
populated. (For return values, see table here.)
Returns: ShowOpenDialog
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.bookmarks
|
⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ✔ An array matching the filePaths array of base64 encoded strings which contains security scoped bookmark data. securityScopedBookmarks must be enabled for this to be populated. (For return values, see table here.) |
Full Usage:
this.canceled
|
whether or not the dialog was canceled. |
Full Usage:
this.filePaths
|
An array of file paths chosen by the user. If the dialog is cancelled this will be an empty array. |
fable-electron-docs-api