@bootdesk/js-web-adapter-react
Preparing search index...
useAttachmentUpload
Function useAttachmentUpload
useAttachmentUpload
(
uploadConfig
?:
UploadConfig
,
)
:
{
addFiles
:
(
files
:
FileList
|
File
[]
)
=>
void
;
attachments
:
PendingAttachment
[]
;
clearAttachments
:
()
=>
void
;
getUploadedAttachments
:
()
=>
PendingAttachment
[]
;
isComplete
:
boolean
;
isUploading
:
boolean
;
removeAttachment
:
(
id
:
string
)
=>
void
;
resetUploads
:
()
=>
void
;
}
Parameters
Optional
uploadConfig
:
UploadConfig
Returns
{
addFiles
:
(
files
:
FileList
|
File
[]
)
=>
void
;
attachments
:
PendingAttachment
[]
;
clearAttachments
:
()
=>
void
;
getUploadedAttachments
:
()
=>
PendingAttachment
[]
;
isComplete
:
boolean
;
isUploading
:
boolean
;
removeAttachment
:
(
id
:
string
)
=>
void
;
resetUploads
:
()
=>
void
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bootdesk/js-web-adapter-react
Loading...