Function · Desktop Services
showFolderDialog
Displays a native folder-selection dialog.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Signature
TypeScript
showFolderDialog(options: FolderDialogOptions = {}): Promise<string | null>Parameters
| Name | Type | Description |
|---|---|---|
options | FolderDialogOptionsDefault: {} | Dialog title options. |
Returns
Promise<string | null> — The selected folder path, or null when canceled.
Related symbols
Source
SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1441 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.