Interface: OpenDialogOptions
Options to configure the behaviour of a file open dialog.
Properties
defaultUri?
optional
defaultUri:Uri
The resource the dialog shows when opened.
Defined in
packages/extension-api/src/extension-api.d.ts:2045
filters?
optional
filters:object
[]
A set of file filters that are used by the dialog.
extensions
extensions:
string
[]
name
name:
string
Defined in
packages/extension-api/src/extension-api.d.ts:2061
openLabel?
optional
openLabel:string
A human-readable string for the open button.
Defined in
packages/extension-api/src/extension-api.d.ts:2050
selectors?
optional
selectors: ("openFile"
|"openDirectory"
|"multiSelections"
|"showHiddenFiles"
)[]
Contains which features the dialog should use. The following values are supported:
Defined in
packages/extension-api/src/extension-api.d.ts:2056
title?
optional
title:string
Dialog title.