ApiStorageFunctions
Function: pickDataFolder()
function pickDataFolder(options?): Promise<DirectoryHandleLike>;Defined in: packages/core/src/storage/directory-access.ts:63
Asks the user to choose their data folder. Must be called from a click.
Parameters
| Parameter | Type | Description |
|---|---|---|
options? | { id?: string; } | - |
options.id? | string | Groups the picker's memory of where it last opened. |
Returns
Promise<DirectoryHandleLike>