Options
All
  • Public
  • Public/Protected
  • All
Menu

The data for when a file is processed.

Hierarchy

Index

Properties

Optional fileInput

fileInput?: JQuery<HTMLElement>

The input element of type file.

Optional fileInputClone

fileInputClone?: JQuery<HTMLElement>

The cloned input element of type file.

files

files: File[]

List of files currently selected.

Optional form

Form element that holds the file input.

originalFiles

originalFiles: File[]

Original list of files that were present.

Optional paramName

paramName?: string | string[]

Name of the file input or inputs.

Methods

abort

  • Aborts the file upload.

    Returns Promise<void, any, any>

    A promise that resolves once the file upload is aborted.

process

processing

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

    Returns boolean

    Whether any upload is being processed.

progress

response

  • 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.

state

  • 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

  • submit(): Promise<unknown, any, any>

Generated using TypeDoc