• AjaxOptions


contentType?: string | false

When sending data to the server, use this content type. Default is "application/x-www-form-urlencoded; charset=UTF-8", which is fine for most cases

Data be sent to the server. It is converted to a query string, if not already a string. It's appended to the url for GET-requests.

headers?: null | IDictionary<string> | ((this) => CanPromise<null | IDictionary<string>>)

An object (or a function which returns an object) of additional header key/value pairs to send along with requests using the XMLHttpRequest transport. Uses in [[FileBrowser]] and [[Uploader]]

Type declaration

method?: string

The HTTP method to use for the request (e.g. "POST", "GET", "PUT")

onProgress?: ((percentage) => void)

Type declaration

    • (percentage): void
    • Parameters

      • percentage: number

      Returns void

queryBuild?: ((this, obj, prefix?) => string | FormData)

Type declaration

responseType?: XMLHttpRequestResponseType
successStatuses: number[]
url?: string

A string containing the URL which the request is sent.

withCredentials?: boolean

Enable or disable Access-Control-Allow-Credentials client side. Useful for cross domain requests

xhr?: (() => XMLHttpRequest)

Type declaration

Jodit PRO

If you like Jodit - try Jodit PRO