AjaxResponse

2020-10-13 18:54 更新

标准化的 AJAX 响应。

  1. class AjaxResponse {
  2. constructor(originalEvent: Event, xhr: XMLHttpRequest, request: AjaxRequest)
  3. status: [object Object]
  4. response: [object Object]
  5. responseText: [object Object]
  6. responseType: [object Object]
  7. originalEvent: Event
  8. xhr: XMLHttpRequest
  9. request: AjaxRequest
  10. }

建设者

constructor(originalEvent: Event, xhr: XMLHttpRequest, request: AjaxRequest) 参量 originalEvent 类型: Event。 xhr 类型: XMLHttpRequest。 请求 类型: AjaxRequest

物产

属性 类型
状态 [object Object]
响应 [object Object]
responseText [object Object]
responseType [object Object]
originalEvent Event
xhr XMLHttpRequest
请求 AjaxRequest

也可以看看

以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号