mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
941 B
941 B
title, description, keywords, aliases
| title | description | keywords | aliases | ||
|---|---|---|---|---|---|
| Interface: Dialog | Docker extension API reference | Docker, extensions, sdk, API, reference |
|
Allows opening native dialog boxes.
Since
0.2.3
Methods
showOpenDialog
▸ showOpenDialog(dialogProperties): Promise<OpenDialogResult>
Display a native open dialog. Lets you select a file or a folder.
ddClient.desktopUI.dialog.showOpenDialog({properties: ['openFile']});
Parameters
| Name | Type | Description |
|---|---|---|
dialogProperties |
any |
Properties to specify the open dialog behaviour, see https://www.electronjs.org/docs/latest/api/dialog#dialogshowopendialogbrowserwindow-options. |
Returns
Promise<OpenDialogResult>