@mediafly/frontend-api - v20.4.1
Preparing search index...
uploadFile
Function uploadFile
uploadFile
(
file
:
File
,
progressCallback
?:
ProgressCallback
,
abortSignal
?:
AbortSignal
,
)
:
Promise
<
{
name
:
string
;
url
:
string
}
>
Uploads the supplied file to S3 and returns an object containing the filename and URL
Parameters
file
:
File
Optional
progressCallback
:
ProgressCallback
Optional
abortSignal
:
AbortSignal
Returns
Promise
<
{
name
:
string
;
url
:
string
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@mediafly/frontend-api - v20.4.1
Loading...
Uploads the supplied file to S3 and returns an object containing the filename and URL