mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
1.6 KiB
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
directory
• Optional directory: boolean
Whether the dialog is a directory selection or not.
Defined in
filters
• Optional filters: DialogFilter[]
The filters of the dialog.
Defined in
multiple
• Optional multiple: boolean
Whether the dialog allows multiple selection or not.
Defined in
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
title
• Optional title: string
The title of the dialog window.