1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLAnchorElement , typescript_type = "HTMLAnchorElement")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `HtmlAnchorElement` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
13     pub type HtmlAnchorElement;
14     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = target)]
15     #[doc = "Getter for the `target` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/target)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
target(this: &HtmlAnchorElement) -> String20     pub fn target(this: &HtmlAnchorElement) -> String;
21     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = target)]
22     #[doc = "Setter for the `target` field of this object."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/target)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_target(this: &HtmlAnchorElement, value: &str)27     pub fn set_target(this: &HtmlAnchorElement, value: &str);
28     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = download)]
29     #[doc = "Getter for the `download` field of this object."]
30     #[doc = ""]
31     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
download(this: &HtmlAnchorElement) -> String34     pub fn download(this: &HtmlAnchorElement) -> String;
35     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = download)]
36     #[doc = "Setter for the `download` field of this object."]
37     #[doc = ""]
38     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)"]
39     #[doc = ""]
40     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_download(this: &HtmlAnchorElement, value: &str)41     pub fn set_download(this: &HtmlAnchorElement, value: &str);
42     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = ping)]
43     #[doc = "Getter for the `ping` field of this object."]
44     #[doc = ""]
45     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/ping)"]
46     #[doc = ""]
47     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
ping(this: &HtmlAnchorElement) -> String48     pub fn ping(this: &HtmlAnchorElement) -> String;
49     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = ping)]
50     #[doc = "Setter for the `ping` field of this object."]
51     #[doc = ""]
52     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/ping)"]
53     #[doc = ""]
54     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_ping(this: &HtmlAnchorElement, value: &str)55     pub fn set_ping(this: &HtmlAnchorElement, value: &str);
56     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = rel)]
57     #[doc = "Getter for the `rel` field of this object."]
58     #[doc = ""]
59     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel)"]
60     #[doc = ""]
61     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
rel(this: &HtmlAnchorElement) -> String62     pub fn rel(this: &HtmlAnchorElement) -> String;
63     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = rel)]
64     #[doc = "Setter for the `rel` field of this object."]
65     #[doc = ""]
66     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel)"]
67     #[doc = ""]
68     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_rel(this: &HtmlAnchorElement, value: &str)69     pub fn set_rel(this: &HtmlAnchorElement, value: &str);
70     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = referrerPolicy)]
71     #[doc = "Getter for the `referrerPolicy` field of this object."]
72     #[doc = ""]
73     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy)"]
74     #[doc = ""]
75     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
referrer_policy(this: &HtmlAnchorElement) -> String76     pub fn referrer_policy(this: &HtmlAnchorElement) -> String;
77     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = referrerPolicy)]
78     #[doc = "Setter for the `referrerPolicy` field of this object."]
79     #[doc = ""]
80     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy)"]
81     #[doc = ""]
82     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_referrer_policy(this: &HtmlAnchorElement, value: &str)83     pub fn set_referrer_policy(this: &HtmlAnchorElement, value: &str);
84     #[cfg(feature = "DomTokenList")]
85     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = relList)]
86     #[doc = "Getter for the `relList` field of this object."]
87     #[doc = ""]
88     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/relList)"]
89     #[doc = ""]
90     #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlAnchorElement`*"]
rel_list(this: &HtmlAnchorElement) -> DomTokenList91     pub fn rel_list(this: &HtmlAnchorElement) -> DomTokenList;
92     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = hreflang)]
93     #[doc = "Getter for the `hreflang` field of this object."]
94     #[doc = ""]
95     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hreflang)"]
96     #[doc = ""]
97     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
hreflang(this: &HtmlAnchorElement) -> String98     pub fn hreflang(this: &HtmlAnchorElement) -> String;
99     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = hreflang)]
100     #[doc = "Setter for the `hreflang` field of this object."]
101     #[doc = ""]
102     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hreflang)"]
103     #[doc = ""]
104     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_hreflang(this: &HtmlAnchorElement, value: &str)105     pub fn set_hreflang(this: &HtmlAnchorElement, value: &str);
106     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = type)]
107     #[doc = "Getter for the `type` field of this object."]
108     #[doc = ""]
109     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/type)"]
110     #[doc = ""]
111     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
type_(this: &HtmlAnchorElement) -> String112     pub fn type_(this: &HtmlAnchorElement) -> String;
113     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = type)]
114     #[doc = "Setter for the `type` field of this object."]
115     #[doc = ""]
116     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/type)"]
117     #[doc = ""]
118     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_type(this: &HtmlAnchorElement, value: &str)119     pub fn set_type(this: &HtmlAnchorElement, value: &str);
120     # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLAnchorElement" , js_name = text)]
121     #[doc = "Getter for the `text` field of this object."]
122     #[doc = ""]
123     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/text)"]
124     #[doc = ""]
125     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
text(this: &HtmlAnchorElement) -> Result<String, JsValue>126     pub fn text(this: &HtmlAnchorElement) -> Result<String, JsValue>;
127     # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLAnchorElement" , js_name = text)]
128     #[doc = "Setter for the `text` field of this object."]
129     #[doc = ""]
130     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/text)"]
131     #[doc = ""]
132     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_text(this: &HtmlAnchorElement, value: &str) -> Result<(), JsValue>133     pub fn set_text(this: &HtmlAnchorElement, value: &str) -> Result<(), JsValue>;
134     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = coords)]
135     #[doc = "Getter for the `coords` field of this object."]
136     #[doc = ""]
137     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/coords)"]
138     #[doc = ""]
139     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
coords(this: &HtmlAnchorElement) -> String140     pub fn coords(this: &HtmlAnchorElement) -> String;
141     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = coords)]
142     #[doc = "Setter for the `coords` field of this object."]
143     #[doc = ""]
144     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/coords)"]
145     #[doc = ""]
146     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_coords(this: &HtmlAnchorElement, value: &str)147     pub fn set_coords(this: &HtmlAnchorElement, value: &str);
148     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = charset)]
149     #[doc = "Getter for the `charset` field of this object."]
150     #[doc = ""]
151     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/charset)"]
152     #[doc = ""]
153     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
charset(this: &HtmlAnchorElement) -> String154     pub fn charset(this: &HtmlAnchorElement) -> String;
155     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = charset)]
156     #[doc = "Setter for the `charset` field of this object."]
157     #[doc = ""]
158     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/charset)"]
159     #[doc = ""]
160     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_charset(this: &HtmlAnchorElement, value: &str)161     pub fn set_charset(this: &HtmlAnchorElement, value: &str);
162     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = name)]
163     #[doc = "Getter for the `name` field of this object."]
164     #[doc = ""]
165     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/name)"]
166     #[doc = ""]
167     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
name(this: &HtmlAnchorElement) -> String168     pub fn name(this: &HtmlAnchorElement) -> String;
169     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = name)]
170     #[doc = "Setter for the `name` field of this object."]
171     #[doc = ""]
172     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/name)"]
173     #[doc = ""]
174     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_name(this: &HtmlAnchorElement, value: &str)175     pub fn set_name(this: &HtmlAnchorElement, value: &str);
176     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = rev)]
177     #[doc = "Getter for the `rev` field of this object."]
178     #[doc = ""]
179     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rev)"]
180     #[doc = ""]
181     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
rev(this: &HtmlAnchorElement) -> String182     pub fn rev(this: &HtmlAnchorElement) -> String;
183     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = rev)]
184     #[doc = "Setter for the `rev` field of this object."]
185     #[doc = ""]
186     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rev)"]
187     #[doc = ""]
188     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_rev(this: &HtmlAnchorElement, value: &str)189     pub fn set_rev(this: &HtmlAnchorElement, value: &str);
190     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = shape)]
191     #[doc = "Getter for the `shape` field of this object."]
192     #[doc = ""]
193     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/shape)"]
194     #[doc = ""]
195     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
shape(this: &HtmlAnchorElement) -> String196     pub fn shape(this: &HtmlAnchorElement) -> String;
197     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = shape)]
198     #[doc = "Setter for the `shape` field of this object."]
199     #[doc = ""]
200     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/shape)"]
201     #[doc = ""]
202     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_shape(this: &HtmlAnchorElement, value: &str)203     pub fn set_shape(this: &HtmlAnchorElement, value: &str);
204     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = href)]
205     #[doc = "Getter for the `href` field of this object."]
206     #[doc = ""]
207     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/href)"]
208     #[doc = ""]
209     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
href(this: &HtmlAnchorElement) -> String210     pub fn href(this: &HtmlAnchorElement) -> String;
211     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = href)]
212     #[doc = "Setter for the `href` field of this object."]
213     #[doc = ""]
214     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/href)"]
215     #[doc = ""]
216     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_href(this: &HtmlAnchorElement, value: &str)217     pub fn set_href(this: &HtmlAnchorElement, value: &str);
218     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = origin)]
219     #[doc = "Getter for the `origin` field of this object."]
220     #[doc = ""]
221     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/origin)"]
222     #[doc = ""]
223     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
origin(this: &HtmlAnchorElement) -> String224     pub fn origin(this: &HtmlAnchorElement) -> String;
225     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = protocol)]
226     #[doc = "Getter for the `protocol` field of this object."]
227     #[doc = ""]
228     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/protocol)"]
229     #[doc = ""]
230     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
protocol(this: &HtmlAnchorElement) -> String231     pub fn protocol(this: &HtmlAnchorElement) -> String;
232     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = protocol)]
233     #[doc = "Setter for the `protocol` field of this object."]
234     #[doc = ""]
235     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/protocol)"]
236     #[doc = ""]
237     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_protocol(this: &HtmlAnchorElement, value: &str)238     pub fn set_protocol(this: &HtmlAnchorElement, value: &str);
239     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = username)]
240     #[doc = "Getter for the `username` field of this object."]
241     #[doc = ""]
242     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/username)"]
243     #[doc = ""]
244     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
username(this: &HtmlAnchorElement) -> String245     pub fn username(this: &HtmlAnchorElement) -> String;
246     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = username)]
247     #[doc = "Setter for the `username` field of this object."]
248     #[doc = ""]
249     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/username)"]
250     #[doc = ""]
251     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_username(this: &HtmlAnchorElement, value: &str)252     pub fn set_username(this: &HtmlAnchorElement, value: &str);
253     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = password)]
254     #[doc = "Getter for the `password` field of this object."]
255     #[doc = ""]
256     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/password)"]
257     #[doc = ""]
258     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
password(this: &HtmlAnchorElement) -> String259     pub fn password(this: &HtmlAnchorElement) -> String;
260     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = password)]
261     #[doc = "Setter for the `password` field of this object."]
262     #[doc = ""]
263     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/password)"]
264     #[doc = ""]
265     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_password(this: &HtmlAnchorElement, value: &str)266     pub fn set_password(this: &HtmlAnchorElement, value: &str);
267     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = host)]
268     #[doc = "Getter for the `host` field of this object."]
269     #[doc = ""]
270     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/host)"]
271     #[doc = ""]
272     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
host(this: &HtmlAnchorElement) -> String273     pub fn host(this: &HtmlAnchorElement) -> String;
274     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = host)]
275     #[doc = "Setter for the `host` field of this object."]
276     #[doc = ""]
277     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/host)"]
278     #[doc = ""]
279     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_host(this: &HtmlAnchorElement, value: &str)280     pub fn set_host(this: &HtmlAnchorElement, value: &str);
281     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = hostname)]
282     #[doc = "Getter for the `hostname` field of this object."]
283     #[doc = ""]
284     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hostname)"]
285     #[doc = ""]
286     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
hostname(this: &HtmlAnchorElement) -> String287     pub fn hostname(this: &HtmlAnchorElement) -> String;
288     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = hostname)]
289     #[doc = "Setter for the `hostname` field of this object."]
290     #[doc = ""]
291     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hostname)"]
292     #[doc = ""]
293     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_hostname(this: &HtmlAnchorElement, value: &str)294     pub fn set_hostname(this: &HtmlAnchorElement, value: &str);
295     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = port)]
296     #[doc = "Getter for the `port` field of this object."]
297     #[doc = ""]
298     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/port)"]
299     #[doc = ""]
300     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
port(this: &HtmlAnchorElement) -> String301     pub fn port(this: &HtmlAnchorElement) -> String;
302     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = port)]
303     #[doc = "Setter for the `port` field of this object."]
304     #[doc = ""]
305     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/port)"]
306     #[doc = ""]
307     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_port(this: &HtmlAnchorElement, value: &str)308     pub fn set_port(this: &HtmlAnchorElement, value: &str);
309     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = pathname)]
310     #[doc = "Getter for the `pathname` field of this object."]
311     #[doc = ""]
312     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/pathname)"]
313     #[doc = ""]
314     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
pathname(this: &HtmlAnchorElement) -> String315     pub fn pathname(this: &HtmlAnchorElement) -> String;
316     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = pathname)]
317     #[doc = "Setter for the `pathname` field of this object."]
318     #[doc = ""]
319     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/pathname)"]
320     #[doc = ""]
321     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_pathname(this: &HtmlAnchorElement, value: &str)322     pub fn set_pathname(this: &HtmlAnchorElement, value: &str);
323     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = search)]
324     #[doc = "Getter for the `search` field of this object."]
325     #[doc = ""]
326     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/search)"]
327     #[doc = ""]
328     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
search(this: &HtmlAnchorElement) -> String329     pub fn search(this: &HtmlAnchorElement) -> String;
330     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = search)]
331     #[doc = "Setter for the `search` field of this object."]
332     #[doc = ""]
333     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/search)"]
334     #[doc = ""]
335     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_search(this: &HtmlAnchorElement, value: &str)336     pub fn set_search(this: &HtmlAnchorElement, value: &str);
337     # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = hash)]
338     #[doc = "Getter for the `hash` field of this object."]
339     #[doc = ""]
340     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hash)"]
341     #[doc = ""]
342     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
hash(this: &HtmlAnchorElement) -> String343     pub fn hash(this: &HtmlAnchorElement) -> String;
344     # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = hash)]
345     #[doc = "Setter for the `hash` field of this object."]
346     #[doc = ""]
347     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hash)"]
348     #[doc = ""]
349     #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
set_hash(this: &HtmlAnchorElement, value: &str)350     pub fn set_hash(this: &HtmlAnchorElement, value: &str);
351 }
352