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