Class UploadAPI

Index

Constructors

Properties

file: File
id: string

Methods

  • Cancels the upload by making a cancellation request to the backend. Triggers the onChange callback.

    Returns Promise<void>

  • Starts the file upload. Triggers the onChange callback.

    Returns void

Was this helpful?