maxcountryman_web_sys/features/
gen_HtmlBaseElement.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 = HTMLBaseElement , typescript_type = "HTMLBaseElement")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `HtmlBaseElement` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement)"]
11 #[doc = ""]
12 #[doc = "*This API requires the following crate features to be activated: `HtmlBaseElement`*"]
13 pub type HtmlBaseElement;
14 # [wasm_bindgen (structural , method , getter , js_class = "HTMLBaseElement" , js_name = href)]
15 #[doc = "Getter for the `href` field of this object."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/href)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `HtmlBaseElement`*"]
20 pub fn href(this: &HtmlBaseElement) -> String;
21 # [wasm_bindgen (structural , method , setter , js_class = "HTMLBaseElement" , js_name = href)]
22 #[doc = "Setter for the `href` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/href)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `HtmlBaseElement`*"]
27 pub fn set_href(this: &HtmlBaseElement, value: &str);
28 # [wasm_bindgen (structural , method , getter , js_class = "HTMLBaseElement" , js_name = target)]
29 #[doc = "Getter for the `target` field of this object."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/target)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `HtmlBaseElement`*"]
34 pub fn target(this: &HtmlBaseElement) -> String;
35 # [wasm_bindgen (structural , method , setter , js_class = "HTMLBaseElement" , js_name = target)]
36 #[doc = "Setter for the `target` field of this object."]
37 #[doc = ""]
38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement/target)"]
39 #[doc = ""]
40 #[doc = "*This API requires the following crate features to be activated: `HtmlBaseElement`*"]
41 pub fn set_target(this: &HtmlBaseElement, value: &str);
42}