1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "HtmlElement",
9 extends = "Element",
10 extends = "Node",
11 extends = "EventTarget",
12 extends = "::js_sys::Object",
13 js_name = "HTMLAreaElement",
14 typescript_type = "HTMLAreaElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `HtmlAreaElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
22 pub type HtmlAreaElement;
23 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "alt")]
24 #[doc = "Getter for the `alt` field of this object."]
25 #[doc = ""]
26 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)"]
27 #[doc = ""]
28 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
29 pub fn alt(this: &HtmlAreaElement) -> ::alloc::string::String;
30 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "alt")]
31 #[doc = "Setter for the `alt` field of this object."]
32 #[doc = ""]
33 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)"]
34 #[doc = ""]
35 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
36 pub fn set_alt(this: &HtmlAreaElement, value: &str);
37 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "coords")]
38 #[doc = "Getter for the `coords` field of this object."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
43 pub fn coords(this: &HtmlAreaElement) -> ::alloc::string::String;
44 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "coords")]
45 #[doc = "Setter for the `coords` field of this object."]
46 #[doc = ""]
47 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)"]
48 #[doc = ""]
49 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
50 pub fn set_coords(this: &HtmlAreaElement, value: &str);
51 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "shape")]
52 #[doc = "Getter for the `shape` field of this object."]
53 #[doc = ""]
54 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)"]
55 #[doc = ""]
56 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
57 pub fn shape(this: &HtmlAreaElement) -> ::alloc::string::String;
58 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "shape")]
59 #[doc = "Setter for the `shape` field of this object."]
60 #[doc = ""]
61 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)"]
62 #[doc = ""]
63 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
64 pub fn set_shape(this: &HtmlAreaElement, value: &str);
65 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "target")]
66 #[doc = "Getter for the `target` field of this object."]
67 #[doc = ""]
68 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)"]
69 #[doc = ""]
70 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
71 pub fn target(this: &HtmlAreaElement) -> ::alloc::string::String;
72 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "target")]
73 #[doc = "Setter for the `target` field of this object."]
74 #[doc = ""]
75 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)"]
76 #[doc = ""]
77 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
78 pub fn set_target(this: &HtmlAreaElement, value: &str);
79 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "download")]
80 #[doc = "Getter for the `download` field of this object."]
81 #[doc = ""]
82 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)"]
83 #[doc = ""]
84 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
85 pub fn download(this: &HtmlAreaElement) -> ::alloc::string::String;
86 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "download")]
87 #[doc = "Setter for the `download` field of this object."]
88 #[doc = ""]
89 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)"]
90 #[doc = ""]
91 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
92 pub fn set_download(this: &HtmlAreaElement, value: &str);
93 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "ping")]
94 #[doc = "Getter for the `ping` field of this object."]
95 #[doc = ""]
96 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)"]
97 #[doc = ""]
98 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
99 pub fn ping(this: &HtmlAreaElement) -> ::alloc::string::String;
100 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "ping")]
101 #[doc = "Setter for the `ping` field of this object."]
102 #[doc = ""]
103 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)"]
104 #[doc = ""]
105 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
106 pub fn set_ping(this: &HtmlAreaElement, value: &str);
107 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "rel")]
108 #[doc = "Getter for the `rel` field of this object."]
109 #[doc = ""]
110 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)"]
111 #[doc = ""]
112 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
113 pub fn rel(this: &HtmlAreaElement) -> ::alloc::string::String;
114 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "rel")]
115 #[doc = "Setter for the `rel` field of this object."]
116 #[doc = ""]
117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)"]
118 #[doc = ""]
119 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
120 pub fn set_rel(this: &HtmlAreaElement, value: &str);
121 #[wasm_bindgen(
122 method,
123 getter,
124 js_class = "HTMLAreaElement",
125 js_name = "referrerPolicy"
126 )]
127 #[doc = "Getter for the `referrerPolicy` field of this object."]
128 #[doc = ""]
129 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)"]
130 #[doc = ""]
131 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
132 pub fn referrer_policy(this: &HtmlAreaElement) -> ::alloc::string::String;
133 #[wasm_bindgen(
134 method,
135 setter,
136 js_class = "HTMLAreaElement",
137 js_name = "referrerPolicy"
138 )]
139 #[doc = "Setter for the `referrerPolicy` field of this object."]
140 #[doc = ""]
141 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)"]
142 #[doc = ""]
143 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
144 pub fn set_referrer_policy(this: &HtmlAreaElement, value: &str);
145 #[cfg(feature = "DomTokenList")]
146 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "relList")]
147 #[doc = "Getter for the `relList` field of this object."]
148 #[doc = ""]
149 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/relList)"]
150 #[doc = ""]
151 #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlAreaElement`*"]
152 pub fn rel_list(this: &HtmlAreaElement) -> DomTokenList;
153 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "noHref")]
154 #[doc = "Getter for the `noHref` field of this object."]
155 #[doc = ""]
156 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)"]
157 #[doc = ""]
158 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
159 pub fn no_href(this: &HtmlAreaElement) -> bool;
160 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "noHref")]
161 #[doc = "Setter for the `noHref` field of this object."]
162 #[doc = ""]
163 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)"]
164 #[doc = ""]
165 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
166 pub fn set_no_href(this: &HtmlAreaElement, value: bool);
167 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "href")]
168 #[doc = "Getter for the `href` field of this object."]
169 #[doc = ""]
170 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/href)"]
171 #[doc = ""]
172 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
173 pub fn href(this: &HtmlAreaElement) -> ::alloc::string::String;
174 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "href")]
175 #[doc = "Setter for the `href` field of this object."]
176 #[doc = ""]
177 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/href)"]
178 #[doc = ""]
179 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
180 pub fn set_href(this: &HtmlAreaElement, value: &str);
181 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "origin")]
182 #[doc = "Getter for the `origin` field of this object."]
183 #[doc = ""]
184 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/origin)"]
185 #[doc = ""]
186 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
187 pub fn origin(this: &HtmlAreaElement) -> ::alloc::string::String;
188 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "protocol")]
189 #[doc = "Getter for the `protocol` field of this object."]
190 #[doc = ""]
191 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/protocol)"]
192 #[doc = ""]
193 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
194 pub fn protocol(this: &HtmlAreaElement) -> ::alloc::string::String;
195 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "protocol")]
196 #[doc = "Setter for the `protocol` field of this object."]
197 #[doc = ""]
198 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/protocol)"]
199 #[doc = ""]
200 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
201 pub fn set_protocol(this: &HtmlAreaElement, value: &str);
202 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "username")]
203 #[doc = "Getter for the `username` field of this object."]
204 #[doc = ""]
205 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/username)"]
206 #[doc = ""]
207 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
208 pub fn username(this: &HtmlAreaElement) -> ::alloc::string::String;
209 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "username")]
210 #[doc = "Setter for the `username` field of this object."]
211 #[doc = ""]
212 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/username)"]
213 #[doc = ""]
214 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
215 pub fn set_username(this: &HtmlAreaElement, value: &str);
216 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "password")]
217 #[doc = "Getter for the `password` field of this object."]
218 #[doc = ""]
219 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/password)"]
220 #[doc = ""]
221 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
222 pub fn password(this: &HtmlAreaElement) -> ::alloc::string::String;
223 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "password")]
224 #[doc = "Setter for the `password` field of this object."]
225 #[doc = ""]
226 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/password)"]
227 #[doc = ""]
228 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
229 pub fn set_password(this: &HtmlAreaElement, value: &str);
230 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "host")]
231 #[doc = "Getter for the `host` field of this object."]
232 #[doc = ""]
233 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/host)"]
234 #[doc = ""]
235 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
236 pub fn host(this: &HtmlAreaElement) -> ::alloc::string::String;
237 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "host")]
238 #[doc = "Setter for the `host` field of this object."]
239 #[doc = ""]
240 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/host)"]
241 #[doc = ""]
242 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
243 pub fn set_host(this: &HtmlAreaElement, value: &str);
244 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "hostname")]
245 #[doc = "Getter for the `hostname` field of this object."]
246 #[doc = ""]
247 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hostname)"]
248 #[doc = ""]
249 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
250 pub fn hostname(this: &HtmlAreaElement) -> ::alloc::string::String;
251 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "hostname")]
252 #[doc = "Setter for the `hostname` field of this object."]
253 #[doc = ""]
254 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hostname)"]
255 #[doc = ""]
256 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
257 pub fn set_hostname(this: &HtmlAreaElement, value: &str);
258 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "port")]
259 #[doc = "Getter for the `port` field of this object."]
260 #[doc = ""]
261 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/port)"]
262 #[doc = ""]
263 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
264 pub fn port(this: &HtmlAreaElement) -> ::alloc::string::String;
265 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "port")]
266 #[doc = "Setter for the `port` field of this object."]
267 #[doc = ""]
268 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/port)"]
269 #[doc = ""]
270 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
271 pub fn set_port(this: &HtmlAreaElement, value: &str);
272 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "pathname")]
273 #[doc = "Getter for the `pathname` field of this object."]
274 #[doc = ""]
275 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/pathname)"]
276 #[doc = ""]
277 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
278 pub fn pathname(this: &HtmlAreaElement) -> ::alloc::string::String;
279 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "pathname")]
280 #[doc = "Setter for the `pathname` field of this object."]
281 #[doc = ""]
282 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/pathname)"]
283 #[doc = ""]
284 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
285 pub fn set_pathname(this: &HtmlAreaElement, value: &str);
286 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "search")]
287 #[doc = "Getter for the `search` field of this object."]
288 #[doc = ""]
289 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/search)"]
290 #[doc = ""]
291 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
292 pub fn search(this: &HtmlAreaElement) -> ::alloc::string::String;
293 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "search")]
294 #[doc = "Setter for the `search` field of this object."]
295 #[doc = ""]
296 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/search)"]
297 #[doc = ""]
298 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
299 pub fn set_search(this: &HtmlAreaElement, value: &str);
300 #[wasm_bindgen(method, getter, js_class = "HTMLAreaElement", js_name = "hash")]
301 #[doc = "Getter for the `hash` field of this object."]
302 #[doc = ""]
303 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hash)"]
304 #[doc = ""]
305 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
306 pub fn hash(this: &HtmlAreaElement) -> ::alloc::string::String;
307 #[wasm_bindgen(method, setter, js_class = "HTMLAreaElement", js_name = "hash")]
308 #[doc = "Setter for the `hash` field of this object."]
309 #[doc = ""]
310 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hash)"]
311 #[doc = ""]
312 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
313 pub fn set_hash(this: &HtmlAreaElement, value: &str);
314}