minca
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

ParameterTypeDescription
options?{ id?: string; }-
options.id?stringGroups the picker's memory of where it last opened.

Returns

Promise<DirectoryHandleLike>

On this page