Properties
ajaxPrefilter
ajax
Prefilter
: { (dataTypeExpression
: string, func
: (settings
: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options
: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr
: XHR<any>) => any): void; (func
: (settings
: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options
: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr
: XHR<any>) => any): void }Type declaration
- (dataTypeExpression: string, func: (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>) => any): void
- (func: (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>) => any): void
Parameters
dataTypeExpression: string
func: (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>) => any
- (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>): any
Parameters
settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>
options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>
likeXhr: XHR<any>
Returns any
Returns void
Parameters
func: (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>) => any
- (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>): any
Parameters
settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>
options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>
likeXhr: XHR<any>
Returns any
Returns void
ajaxTransport
ajax
Transport
: { (dataTypeExpression
: string, func
: (settings
: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options
: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr
: XHR<any>) => string | void | { abort
: any; send
: any }): void; (func
: (settings
: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options
: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr
: XHR<any>) => string | void | { abort
: any; send
: any }): void }Type declaration
- (dataTypeExpression: string, func: (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>) => string | void | { abort: any; send: any }): void
- (func: (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>) => string | void | { abort: any; send: any }): void
Parameters
dataTypeExpression: string
func: (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>) => string | void | { abort: any; send: any }
- (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>): string | void | { abort: any; send: any }
Parameters
settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>
options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>
likeXhr: XHR<any>
Returns string | void | { abort: any; send: any }
Returns void
Parameters
func: (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>) => string | void | { abort: any; send: any }
- (settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>, likeXhr: XHR<any>): string | void | { abort: any; send: any }
Parameters
settings: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>
options: Partial<Options<any, string | any[] | Record<any, any> | FormData, "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document", "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", "GET" | "POST" | "PUT" | "DELETE" | "HEAD" | "OPTIONS">>
likeXhr: XHR<any>
Returns string | void | { abort: any; send: any }
Returns void
etag
etag: Map<string, string>
get
get: (url: string, data?: any, callback?: (data: any, textStatus: "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", xhr: XHR<any>) => any, type?: "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document") => XHR<any>
Type declaration
- (url: string, data?: any, callback?: (data: any, textStatus: "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", xhr: XHR<any>) => any, type?: "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document"): XHR<any>
Parameters
url: string
Optional data: any
Optional callback: (data: any, textStatus: "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", xhr: XHR<any>) => any
- (data: any, textStatus: "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", xhr: XHR<any>): any
Parameters
data: any
textStatus: "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror"
xhr: XHR<any>
Returns any
type: "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document" = "text"
Returns XHR<any>
lastModified
lastModified: Map<string, string>
post
post: (url: string, data?: any, callback?: (data: any, textStatus: "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", xhr: XHR<any>) => any, type?: "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document") => XHR<any>
Type declaration
- (url: string, data?: any, callback?: (data: any, textStatus: "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", xhr: XHR<any>) => any, type?: "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document"): XHR<any>
Parameters
url: string
Optional data: any
Optional callback: (data: any, textStatus: "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", xhr: XHR<any>) => any
- (data: any, textStatus: "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror", xhr: XHR<any>): any
Parameters
data: any
textStatus: "success" | "notmodified" | "nocontent" | "error" | "timeout" | "abort" | "parsererror"
xhr: XHR<any>
Returns any
type: "xml" | "html" | "script" | "json" | "jsonp" | "text" | "arraybuffer" | "blob" | "document" = "text"
Returns XHR<any>