Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace for the jQuery BlueImp File Upload plugin.

File Upload widget with multiple file selection, drag&drop support, progress bars, validation and preview images, audio and video for jQuery.

Supports cross-domain, chunked and resumable file uploads and client-side image resizing.

Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.

See https://github.com/blueimp/jQuery-File-Upload

Index

Type aliases

DataCallback

DataCallback<TData>: (event: TriggeredEvent, data: TData) => void

A callback for an event that also receives some additional data, in addition to the event.

Type parameters

  • TData

Type declaration

    • Parameters

      • event: TriggeredEvent

        The event that triggered this callback.

      • data: TData

        Additional data passed to this callback. Specific to the event.

      Returns void

DataCallbackBool

DataCallbackBool<TData>: (event: TriggeredEvent, data: TData) => boolean

A callback for an event that receives some additional data and may also return a boolean that usually defines whether the action that triggered this event is pursued further.

Type parameters

  • TData

Type declaration

    • Parameters

      • event: TriggeredEvent

        The event that triggered this callback.

      • data: TData

        Additional data passed to this callback. Specific to the event.

      Returns boolean

      A boolean flag that indicates how event handling proceeds.

FileUploadConstructor

FileUploadConstructor: (options?: Partial<FileUploadOptions>, element?: HTMLFormElement) => FileUpload

Constructor for a new file upload instance.

Type declaration

HttpMethod

HttpMethod: "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "CONNECT" | "OPTIONS" | "TRACE" | "PATCH"

HttpUploadMethod

HttpUploadMethod: "POST" | "PUT" | "PATCH"

The method to use for uploading files.

PlainCallback

PlainCallback: (event: TriggeredEvent) => void

Plain callback for event listeners. They only received the event that occurred.

Type declaration

ProcessAction

A processing action that is available.

Type declaration

ResponseObject

ResponseObject<TResponse, TFailure>: ResponseSuccess<TResponse> | ResponseFailure<TFailure>

Represents the response of a successful or failed request.

Type parameters

  • TResponse = unknown

    Type of the response.

  • TFailure = unknown

    Type of the error.

Generated using TypeDoc