Skip to content

AjaxOptions interface

Defines the structure of AJAX request


● beforeSend?: (xhr: XMLHttpRequest, data: any) => void


● contentType?: string


● data?: any


● dataType?: string


● error?: (error: XMLHttpRequest, status: number, statusMessage: string) => void


● success?: (result: any, xhr?: XMLHttpRequest) => void


● type?: string


● url: string