1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [ wasm_bindgen ( extends = EventTarget , extends = :: js_sys :: Object , js_name = XMLHttpRequestEventTarget , typescript_type = "XMLHttpRequestEventTarget" ) ]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `XmlHttpRequestEventTarget` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
13     pub type XmlHttpRequestEventTarget;
14     # [ wasm_bindgen ( structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onloadstart ) ]
15     #[doc = "Getter for the `onloadstart` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadstart)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
onloadstart(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>20     pub fn onloadstart(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
21     # [ wasm_bindgen ( structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onloadstart ) ]
22     #[doc = "Setter for the `onloadstart` field of this object."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadstart)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
set_onloadstart(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>)27     pub fn set_onloadstart(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
28     # [ wasm_bindgen ( structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onprogress ) ]
29     #[doc = "Getter for the `onprogress` field of this object."]
30     #[doc = ""]
31     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onprogress)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
onprogress(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>34     pub fn onprogress(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
35     # [ wasm_bindgen ( structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onprogress ) ]
36     #[doc = "Setter for the `onprogress` field of this object."]
37     #[doc = ""]
38     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onprogress)"]
39     #[doc = ""]
40     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
set_onprogress(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>)41     pub fn set_onprogress(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
42     # [ wasm_bindgen ( structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onabort ) ]
43     #[doc = "Getter for the `onabort` field of this object."]
44     #[doc = ""]
45     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onabort)"]
46     #[doc = ""]
47     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
onabort(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>48     pub fn onabort(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
49     # [ wasm_bindgen ( structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onabort ) ]
50     #[doc = "Setter for the `onabort` field of this object."]
51     #[doc = ""]
52     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onabort)"]
53     #[doc = ""]
54     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
set_onabort(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>)55     pub fn set_onabort(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
56     # [ wasm_bindgen ( structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onerror ) ]
57     #[doc = "Getter for the `onerror` field of this object."]
58     #[doc = ""]
59     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onerror)"]
60     #[doc = ""]
61     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
onerror(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>62     pub fn onerror(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
63     # [ wasm_bindgen ( structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onerror ) ]
64     #[doc = "Setter for the `onerror` field of this object."]
65     #[doc = ""]
66     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onerror)"]
67     #[doc = ""]
68     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
set_onerror(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>)69     pub fn set_onerror(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
70     # [ wasm_bindgen ( structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onload ) ]
71     #[doc = "Getter for the `onload` field of this object."]
72     #[doc = ""]
73     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onload)"]
74     #[doc = ""]
75     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
onload(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>76     pub fn onload(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
77     # [ wasm_bindgen ( structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onload ) ]
78     #[doc = "Setter for the `onload` field of this object."]
79     #[doc = ""]
80     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onload)"]
81     #[doc = ""]
82     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
set_onload(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>)83     pub fn set_onload(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
84     # [ wasm_bindgen ( structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = ontimeout ) ]
85     #[doc = "Getter for the `ontimeout` field of this object."]
86     #[doc = ""]
87     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/ontimeout)"]
88     #[doc = ""]
89     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
ontimeout(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>90     pub fn ontimeout(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
91     # [ wasm_bindgen ( structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = ontimeout ) ]
92     #[doc = "Setter for the `ontimeout` field of this object."]
93     #[doc = ""]
94     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/ontimeout)"]
95     #[doc = ""]
96     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
set_ontimeout(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>)97     pub fn set_ontimeout(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
98     # [ wasm_bindgen ( structural , method , getter , js_class = "XMLHttpRequestEventTarget" , js_name = onloadend ) ]
99     #[doc = "Getter for the `onloadend` field of this object."]
100     #[doc = ""]
101     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadend)"]
102     #[doc = ""]
103     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
onloadend(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>104     pub fn onloadend(this: &XmlHttpRequestEventTarget) -> Option<::js_sys::Function>;
105     # [ wasm_bindgen ( structural , method , setter , js_class = "XMLHttpRequestEventTarget" , js_name = onloadend ) ]
106     #[doc = "Setter for the `onloadend` field of this object."]
107     #[doc = ""]
108     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequestEventTarget/onloadend)"]
109     #[doc = ""]
110     #[doc = "*This API requires the following crate features to be activated: `XmlHttpRequestEventTarget`*"]
set_onloadend(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>)111     pub fn set_onloadend(this: &XmlHttpRequestEventTarget, value: Option<&::js_sys::Function>);
112 }
113