Properties

actionLoad

Action to run to trigger the load operation, defaults to 'load'.

actionLoad?: string

actionAbort

Action to run to abort the load operation, defaults to 'abort'.

actionAbort?: string

getBasename

Hook that runs when determining the name for a file. Defaults to () => 'Untitled'.

getBasename?: (entry: FilePondEntry, blob: Blob) => string

mimeTypeMap

An object with key value pairs describing mime type relation to extension.

mimeTypeMap?: { [key: string]: string; }

fetchMetadata

Fetch remote metadata using HEAD request so file content length and type are updated sooner, defaults to true.

fetchMetadata?: boolean

parallel

Maximum number of URLs to load in parallel, defaults to 2.

parallel?: number

useWebWorkers

Determines if we should use WebWorkers for the XMLHttpRequest, defaults to true.

useWebWorkers?: boolean

workersURL

Where the extension can find the WebWorker to use

workersURL?: URL

resolveRequest

Resolve the URL and options sent to XMLHttpRequest.

resolveRequest?: { metadata?: URLLoaderRequestResolver; load?: URLLoaderRequestResolver; }

resolveResponse

Resolve the value created from the XMLHttpRequest response.

resolveResponse?: { load?: URLLoaderResponseResolver<File>; }