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