JavaScript is disabled on your browser.
Required Element Summary
Required Elements
Optional Element Summary
Optional Elements
boolean
boolean
boolean
Select a directory instead of a file.
A human-readable description for the
types() filter, e.g.
boolean
boolean
boolean
The file extensions to filter the dialog by, e.g.
Element Details
titleTranslation
boolean titleTranslation
Default:
false
titleKey
Deprecated.
Default:
""
descriptionTranslation
boolean descriptionTranslation
Default:
false
descriptionKey
Deprecated.
Default:
""
types
The file extensions to filter the dialog by, e.g. {".png", ".jpg"}. Entries may be
written as ".png", "png" or "*.png"; they are all normalised to the
*.ext form tinyfd expects. Leave empty to allow any file.
Default:
{}
filterName
A human-readable description for the
types() filter, e.g.
"Images".
Default:
""
directory
boolean directory
Select a directory instead of a file. When
true,
types() is ignored.
Default:
false
category
Default:
"General"
categoryKey
Deprecated.
Default:
""
categoryTranslation
boolean categoryTranslation
Default:
false
subcategory
Default:
"General"
subcategoryKey
Deprecated.
Default:
""
subcategoryTranslation
boolean subcategoryTranslation
Default:
false
placeholder
Default:
"oneconfig.filepicker.placeholder"
placeholderTranslation
boolean placeholderTranslation
Default:
false
placeholderKey
Deprecated.
Default:
""