Trevixal API
Preparing search index...
@trevixal/ui
pickFile
Function pickFile
pickFile
(
document
:
Document
,
accept
?:
string
)
:
Promise
<
File
|
null
>
Open the OS file picker; resolves with the chosen file, or null.
Parameters
document
:
Document
Optional
accept
:
string
Returns
Promise
<
File
|
null
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Trevixal API
Loading...
Open the OS file picker; resolves with the chosen file, or null.