Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(?title, ?defaultPath, ?buttonLabel, ?filters, ?properties, ?message, ?securityScopedBookmarks)

Full Usage: Options(?title, ?defaultPath, ?buttonLabel, ?filters, ?properties, ?message, ?securityScopedBookmarks)

Parameters:
    ?title : string -
    ?defaultPath : string -
    ?buttonLabel : string - Custom label for the confirmation button, when left empty the default label will be used.
    ?filters : FileFilter[] -
    ?properties : Properties[] - Contains which features the dialog should use. The following values are supported:
    ?message : string - ⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ || Message to display above input boxes.
    ?securityScopedBookmarks : bool - ⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ✔ || Create security scoped bookmarks when packaged for the Mac App Store.

Returns: Options
?title : string

?defaultPath : string

?buttonLabel : string

Custom label for the confirmation button, when left empty the default label will be used.

?filters : FileFilter[]

?properties : Properties[]

Contains which features the dialog should use. The following values are supported:

?message : string

⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ || Message to display above input boxes.

?securityScopedBookmarks : bool

⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ✔ || Create security scoped bookmarks when packaged for the Mac App Store.

Returns: Options

Instance members

Instance member Description

this.buttonLabel

Full Usage: this.buttonLabel

Custom label for the confirmation button, when left empty the default label will be used.

this.defaultPath

Full Usage: this.defaultPath

this.filters

Full Usage: this.filters

this.message

Full Usage: this.message

⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ❌ Message to display above input boxes.

this.properties

Full Usage: this.properties

Contains which features the dialog should use. The following values are supported:

this.securityScopedBookmarks

Full Usage: this.securityScopedBookmarks

⚠ OS Compatibility: WIN ❌ | MAC ✔ | LIN ❌ | MAS ✔ Create security scoped bookmarks when packaged for the Mac App Store.

this.title

Full Usage: this.title

Type something to start searching.