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