maxcountryman_web_sys/features/
gen_HtmlMapElement.rs1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6 # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLMapElement , typescript_type = "HTMLMapElement")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `HtmlMapElement` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement)"]
11 #[doc = ""]
12 #[doc = "*This API requires the following crate features to be activated: `HtmlMapElement`*"]
13 pub type HtmlMapElement;
14 # [wasm_bindgen (structural , method , getter , js_class = "HTMLMapElement" , js_name = name)]
15 #[doc = "Getter for the `name` field of this object."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/name)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `HtmlMapElement`*"]
20 pub fn name(this: &HtmlMapElement) -> String;
21 # [wasm_bindgen (structural , method , setter , js_class = "HTMLMapElement" , js_name = name)]
22 #[doc = "Setter for the `name` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/name)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `HtmlMapElement`*"]
27 pub fn set_name(this: &HtmlMapElement, value: &str);
28 #[cfg(feature = "HtmlCollection")]
29 # [wasm_bindgen (structural , method , getter , js_class = "HTMLMapElement" , js_name = areas)]
30 #[doc = "Getter for the `areas` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement/areas)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlMapElement`*"]
35 pub fn areas(this: &HtmlMapElement) -> HtmlCollection;
36}