Header menu logo fable-electron-docs-api

ShowOpenDialog Type

Constructors

Constructor Description

ShowOpenDialog(canceled, filePaths, ?bookmarks)

Full Usage: ShowOpenDialog(canceled, filePaths, ?bookmarks)

Parameters:
    canceled : 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
canceled : 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

this.bookmarks

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.)

this.canceled

Full Usage: this.canceled

whether or not the dialog was canceled.

this.filePaths

Full Usage: this.filePaths

An array of file paths chosen by the user. If the dialog is cancelled this will be an empty array.

Type something to start searching.