Files
archived-tauri-docs/docs/api/js/interfaces/dialog.OpenDialogOptions.md
2022-03-29 07:36:52 +02:00

1.6 KiB

@tauri-apps/api / dialog / OpenDialogOptions

Interface: OpenDialogOptions

dialog.OpenDialogOptions

Options for the open dialog.

Properties

defaultPath

Optional defaultPath: string

Initial directory or file path.

Defined in

dialog.ts:51


directory

Optional directory: boolean

Whether the dialog is a directory selection or not.

Defined in

dialog.ts:55


filters

Optional filters: DialogFilter[]

The filters of the dialog.

Defined in

dialog.ts:49


multiple

Optional multiple: boolean

Whether the dialog allows multiple selection or not.

Defined in

dialog.ts:53


recursive

Optional recursive: boolean

If directory is true, indicates that it will be read recursively later. Defines whether subdirectories will be allowed on the scope or not.

Defined in

dialog.ts:60


title

Optional title: string

The title of the dialog window.

Defined in

dialog.ts:47