OpenDialogSyncOptions

external interface OpenDialogSyncOptions(source)

Properties

Link copied to clipboard
abstract external var buttonLabel: String?

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

Link copied to clipboard
abstract external var defaultPath: String?

Absolute directory path, absolute file path, or file name to use by default. If not provided, the dialog will default to the user's Downloads folder, or their home directory if Downloads doesn't exist.

Link copied to clipboard
abstract external var filters: ReadonlyArray<FileFilter>?
Link copied to clipboard
abstract external var message: String?

Message to display above input boxes.

Link copied to clipboard

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

Link copied to clipboard
abstract external var securityScopedBookmarks: Boolean?

Create security scoped bookmarks when packaged for the Mac App Store.

Link copied to clipboard
abstract external var title: String?