SaveDialogOptions

Options to configure the behaviour of a file save dialog.

Online Documentation

Properties

Link copied to clipboard
abstract external var defaultUri: Uri?

The resource the dialog shows when opened.

Link copied to clipboard
abstract external var filters: ReadonlyRecord<JsString, ReadonlyArray<JsString>>?

A set of file filters that are used by the dialog. Each entry is a human-readable label, like "TypeScript", and an array of extensions, for example:

Link copied to clipboard
abstract external var saveLabel: String?

A human-readable string for the save button.

Link copied to clipboard
abstract external var title: String?

Dialog title.