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 = HTMLFontElement , typescript_type = "HTMLFontElement")] 7 #[derive(Debug, Clone, PartialEq, Eq)] 8 #[doc = "The `HtmlFontElement` class."] 9 #[doc = ""] 10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement)"] 11 #[doc = ""] 12 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"] 13 pub type HtmlFontElement; 14 # [wasm_bindgen (structural , method , getter , js_class = "HTMLFontElement" , js_name = color)] 15 #[doc = "Getter for the `color` field of this object."] 16 #[doc = ""] 17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color)"] 18 #[doc = ""] 19 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"] color(this: &HtmlFontElement) -> String20 pub fn color(this: &HtmlFontElement) -> String; 21 # [wasm_bindgen (structural , method , setter , js_class = "HTMLFontElement" , js_name = color)] 22 #[doc = "Setter for the `color` field of this object."] 23 #[doc = ""] 24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color)"] 25 #[doc = ""] 26 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"] set_color(this: &HtmlFontElement, value: &str)27 pub fn set_color(this: &HtmlFontElement, value: &str); 28 # [wasm_bindgen (structural , method , getter , js_class = "HTMLFontElement" , js_name = face)] 29 #[doc = "Getter for the `face` field of this object."] 30 #[doc = ""] 31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face)"] 32 #[doc = ""] 33 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"] face(this: &HtmlFontElement) -> String34 pub fn face(this: &HtmlFontElement) -> String; 35 # [wasm_bindgen (structural , method , setter , js_class = "HTMLFontElement" , js_name = face)] 36 #[doc = "Setter for the `face` field of this object."] 37 #[doc = ""] 38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face)"] 39 #[doc = ""] 40 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"] set_face(this: &HtmlFontElement, value: &str)41 pub fn set_face(this: &HtmlFontElement, value: &str); 42 # [wasm_bindgen (structural , method , getter , js_class = "HTMLFontElement" , js_name = size)] 43 #[doc = "Getter for the `size` field of this object."] 44 #[doc = ""] 45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size)"] 46 #[doc = ""] 47 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"] size(this: &HtmlFontElement) -> String48 pub fn size(this: &HtmlFontElement) -> String; 49 # [wasm_bindgen (structural , method , setter , js_class = "HTMLFontElement" , js_name = size)] 50 #[doc = "Setter for the `size` field of this object."] 51 #[doc = ""] 52 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size)"] 53 #[doc = ""] 54 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"] set_size(this: &HtmlFontElement, value: &str)55 pub fn set_size(this: &HtmlFontElement, value: &str); 56 } 57