Interface: Dialog

Table of contents

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

NameTypeDescription
dialogPropertiesanyProperties to specify the open dialog behaviour, see https://www.electronjs.org/docs/latest/api/dialog#dialogshowopendialogbrowserwindow-options.

Returns

Promise<OpenDialogResult>

OSZAR »