SaveDialogSyncOptions

external interface SaveDialogSyncOptions(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 text fields.

Link copied to clipboard
abstract external var nameFieldLabel: String?

Custom label for the text displayed in front of the filename text field.

Link copied to clipboard
Link copied to clipboard
abstract external var securityScopedBookmarks: Boolean?

Create a security scoped bookmark when packaged for the Mac App Store. If this option is enabled and the file doesn't already exist a blank file will be created at the chosen path.

Link copied to clipboard
abstract external var showsTagField: Boolean?

Show the tags input box, defaults to true.

Link copied to clipboard
abstract external var title: String?

The dialog title. Cannot be displayed on some Linux desktop environments.