Header menu logo fable-electron-docs-api

ShowSaveDialog Type

Constructors

Constructor Description

ShowSaveDialog(canceled, filePath, ?bookmark)

Full Usage: ShowSaveDialog(canceled, filePath, ?bookmark)

Parameters:
    canceled : bool - whether or not the dialog was canceled.
    filePath : string - If the dialog is canceled, this will be an empty string.
    ?bookmark : string - ⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ✔ || Base64 encoded string which contains the security scoped bookmark data for the saved file. securityScopedBookmarks must be enabled for this to be present. (For return values, see table here.)

Returns: ShowSaveDialog
canceled : bool

whether or not the dialog was canceled.

filePath : string

If the dialog is canceled, this will be an empty string.

?bookmark : string

⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ✔ || Base64 encoded string which contains the security scoped bookmark data for the saved file. securityScopedBookmarks must be enabled for this to be present. (For return values, see table here.)

Returns: ShowSaveDialog

Instance members

Instance member Description

this.bookmark

Full Usage: this.bookmark

⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ✔ Base64 encoded string which contains the security scoped bookmark data for the saved file. securityScopedBookmarks must be enabled for this to be present. (For return values, see table here.)

this.canceled

Full Usage: this.canceled

whether or not the dialog was canceled.

this.filePath

Full Usage: this.filePath

If the dialog is canceled, this will be an empty string.

Type something to start searching.