@fabwcie/free-drawing / utils/drawingFile / pickFile
Function: pickFile()
pickFile(
accept):Promise<string|null>
Defined in: packages/free-drawing/src/utils/drawingFile.ts:182
Text of a file chosen by user, null if canceled
Parameters
accept
string
File types (input accept attribute)
Returns
Promise<string | null>
promise of the file text, of null when canceled or no file chosen