maxcountryman_web_sys/features/
gen_HtmlHrElement.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 = HTMLHRElement , typescript_type = "HTMLHRElement")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `HtmlHrElement` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement)"]
11 #[doc = ""]
12 #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
13 pub type HtmlHrElement;
14 # [wasm_bindgen (structural , method , getter , js_class = "HTMLHRElement" , js_name = align)]
15 #[doc = "Getter for the `align` field of this object."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/align)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
20 pub fn align(this: &HtmlHrElement) -> String;
21 # [wasm_bindgen (structural , method , setter , js_class = "HTMLHRElement" , js_name = align)]
22 #[doc = "Setter for the `align` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/align)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
27 pub fn set_align(this: &HtmlHrElement, value: &str);
28 # [wasm_bindgen (structural , method , getter , js_class = "HTMLHRElement" , js_name = color)]
29 #[doc = "Getter for the `color` field of this object."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/color)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
34 pub fn color(this: &HtmlHrElement) -> String;
35 # [wasm_bindgen (structural , method , setter , js_class = "HTMLHRElement" , js_name = color)]
36 #[doc = "Setter for the `color` field of this object."]
37 #[doc = ""]
38 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/color)"]
39 #[doc = ""]
40 #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
41 pub fn set_color(this: &HtmlHrElement, value: &str);
42 # [wasm_bindgen (structural , method , getter , js_class = "HTMLHRElement" , js_name = noShade)]
43 #[doc = "Getter for the `noShade` field of this object."]
44 #[doc = ""]
45 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/noShade)"]
46 #[doc = ""]
47 #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
48 pub fn no_shade(this: &HtmlHrElement) -> bool;
49 # [wasm_bindgen (structural , method , setter , js_class = "HTMLHRElement" , js_name = noShade)]
50 #[doc = "Setter for the `noShade` field of this object."]
51 #[doc = ""]
52 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/noShade)"]
53 #[doc = ""]
54 #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
55 pub fn set_no_shade(this: &HtmlHrElement, value: bool);
56 # [wasm_bindgen (structural , method , getter , js_class = "HTMLHRElement" , js_name = size)]
57 #[doc = "Getter for the `size` field of this object."]
58 #[doc = ""]
59 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/size)"]
60 #[doc = ""]
61 #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
62 pub fn size(this: &HtmlHrElement) -> String;
63 # [wasm_bindgen (structural , method , setter , js_class = "HTMLHRElement" , js_name = size)]
64 #[doc = "Setter for the `size` field of this object."]
65 #[doc = ""]
66 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/size)"]
67 #[doc = ""]
68 #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
69 pub fn set_size(this: &HtmlHrElement, value: &str);
70 # [wasm_bindgen (structural , method , getter , js_class = "HTMLHRElement" , js_name = width)]
71 #[doc = "Getter for the `width` field of this object."]
72 #[doc = ""]
73 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/width)"]
74 #[doc = ""]
75 #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
76 pub fn width(this: &HtmlHrElement) -> String;
77 # [wasm_bindgen (structural , method , setter , js_class = "HTMLHRElement" , js_name = width)]
78 #[doc = "Setter for the `width` field of this object."]
79 #[doc = ""]
80 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement/width)"]
81 #[doc = ""]
82 #[doc = "*This API requires the following crate features to be activated: `HtmlHrElement`*"]
83 pub fn set_width(this: &HtmlHrElement, value: &str);
84}