Options
All
  • Public
  • Public/Protected
  • All
Menu

Additional methods for the data objects that are passed to the event handlers.

Hierarchy

Index

Methods

  • Aborts the file upload.

    Returns Promise<void, any, any>

    A promise that resolves once the file upload is aborted.

  • Adds the handlers to the process queue and returns the process queue.

    Type Parameters

    • T

    Parameters

    Returns Promise<T, any, any>

    The process queue promise.

  • Adds the handlers to the process queue and returns the process queue.

    Type Parameters

    • T

    Parameters

    • resolveFunc: undefined

      Additional handler for chaining to the promise.

    • rejectFunc: ((reason?: unknown) => T | Promise<T, any, any> | Thenable<T>)

      Additional handler for chaining to the promise.

    Returns Promise<T, any, any>

    The process queue promise.

  • Retrieves the process queue.

    Returns Promise<ConvenienceMethods, any, any>

    The process queue promise.

  • processing(): boolean
  • Checks whether any upload is being processed.

    Returns boolean

    Whether any upload is being processed.

  • Retrieves the details about the current upload progress.

    Returns UploadProgress

    Details about the current upload progress.

  • response(): Record<string, unknown> | ResponseObject<unknown, unknown>
  • Retrieves the current response object.

    Returns Record<string, unknown> | ResponseObject<unknown, unknown>

    The current response object with the response info.

  • Finds the current state of the file upload request.

    Returns Promise<string, any, any>

    A promise that resolves with the current state of the file upload request.

  • submit(): Promise<unknown, any, any>
  • Submits the form.

    Returns Promise<unknown, any, any>

    A promise that resolves when submission is done.

Generated using TypeDoc