Optional
titleThe title of the dialog window (desktop only).
Optional
filtersThe filters of the dialog.
Optional
defaultInitial directory or file path. If it's a directory path, the dialog interface will change to that folder. If it's not an existing directory, the file name will be set to the dialog's file name input and the dialog will be set to the parent folder.
On mobile the file name is always used on the dialog's file name input.
If not provided, Android uses (invalid).txt
as default file name.
Optional
multipleWhether the dialog allows multiple selection or not.
Optional
directoryWhether the dialog is a directory selection or not.
Optional
recursiveIf directory
is true, indicates that it will be read recursively later.
Defines whether subdirectories will be allowed on the scope or not.
Optional
canWhether to allow creating directories in the dialog. Enabled by default. macOS Only
Options for the open dialog.
Since
2.0.0