Skip to main content

FileUploader

upload (fileOrFileUpload: File | File[] | FileUpload<Response>) => void

A function which can be called to start the uploading of a File or multiple File or a FileUpload.

Note: The reason it can take in a FileUpload is so failed uploads can be retried (aka re-uploaded).