web_sys/features/
gen_HtmlFontElement.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLFontElement , typescript_type = "HTMLFontElement")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `HtmlFontElement` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
14 pub type HtmlFontElement;
15 # [wasm_bindgen (structural , method , getter , js_class = "HTMLFontElement" , js_name = color)]
16 #[doc = "Getter for the `color` field of this object."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
21 pub fn color(this: &HtmlFontElement) -> ::alloc::string::String;
22 # [wasm_bindgen (structural , method , setter , js_class = "HTMLFontElement" , js_name = color)]
23 #[doc = "Setter for the `color` field of this object."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/color)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
28 pub fn set_color(this: &HtmlFontElement, value: &str);
29 # [wasm_bindgen (structural , method , getter , js_class = "HTMLFontElement" , js_name = face)]
30 #[doc = "Getter for the `face` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
35 pub fn face(this: &HtmlFontElement) -> ::alloc::string::String;
36 # [wasm_bindgen (structural , method , setter , js_class = "HTMLFontElement" , js_name = face)]
37 #[doc = "Setter for the `face` field of this object."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/face)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
42 pub fn set_face(this: &HtmlFontElement, value: &str);
43 # [wasm_bindgen (structural , method , getter , js_class = "HTMLFontElement" , js_name = size)]
44 #[doc = "Getter for the `size` field of this object."]
45 #[doc = ""]
46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size)"]
47 #[doc = ""]
48 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
49 pub fn size(this: &HtmlFontElement) -> ::alloc::string::String;
50 # [wasm_bindgen (structural , method , setter , js_class = "HTMLFontElement" , js_name = size)]
51 #[doc = "Setter for the `size` field of this object."]
52 #[doc = ""]
53 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFontElement/size)"]
54 #[doc = ""]
55 #[doc = "*This API requires the following crate features to be activated: `HtmlFontElement`*"]
56 pub fn set_size(this: &HtmlFontElement, value: &str);
57}