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 = HTMLTableSectionElement , typescript_type = "HTMLTableSectionElement")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `HtmlTableSectionElement` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
13     pub type HtmlTableSectionElement;
14     #[cfg(feature = "HtmlCollection")]
15     # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableSectionElement" , js_name = rows)]
16     #[doc = "Getter for the `rows` field of this object."]
17     #[doc = ""]
18     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/rows)"]
19     #[doc = ""]
20     #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableSectionElement`*"]
21     pub fn rows(this: &HtmlTableSectionElement) -> HtmlCollection;
22     # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableSectionElement" , js_name = align)]
23     #[doc = "Getter for the `align` field of this object."]
24     #[doc = ""]
25     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/align)"]
26     #[doc = ""]
27     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
28     pub fn align(this: &HtmlTableSectionElement) -> String;
29     # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableSectionElement" , js_name = align)]
30     #[doc = "Setter for the `align` field of this object."]
31     #[doc = ""]
32     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/align)"]
33     #[doc = ""]
34     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
35     pub fn set_align(this: &HtmlTableSectionElement, value: &str);
36     # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableSectionElement" , js_name = ch)]
37     #[doc = "Getter for the `ch` field of this object."]
38     #[doc = ""]
39     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/ch)"]
40     #[doc = ""]
41     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
42     pub fn ch(this: &HtmlTableSectionElement) -> String;
43     # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableSectionElement" , js_name = ch)]
44     #[doc = "Setter for the `ch` field of this object."]
45     #[doc = ""]
46     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/ch)"]
47     #[doc = ""]
48     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
49     pub fn set_ch(this: &HtmlTableSectionElement, value: &str);
50     # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableSectionElement" , js_name = chOff)]
51     #[doc = "Getter for the `chOff` field of this object."]
52     #[doc = ""]
53     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/chOff)"]
54     #[doc = ""]
55     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
56     pub fn ch_off(this: &HtmlTableSectionElement) -> String;
57     # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableSectionElement" , js_name = chOff)]
58     #[doc = "Setter for the `chOff` field of this object."]
59     #[doc = ""]
60     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/chOff)"]
61     #[doc = ""]
62     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
63     pub fn set_ch_off(this: &HtmlTableSectionElement, value: &str);
64     # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableSectionElement" , js_name = vAlign)]
65     #[doc = "Getter for the `vAlign` field of this object."]
66     #[doc = ""]
67     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/vAlign)"]
68     #[doc = ""]
69     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
70     pub fn v_align(this: &HtmlTableSectionElement) -> String;
71     # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableSectionElement" , js_name = vAlign)]
72     #[doc = "Setter for the `vAlign` field of this object."]
73     #[doc = ""]
74     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/vAlign)"]
75     #[doc = ""]
76     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
77     pub fn set_v_align(this: &HtmlTableSectionElement, value: &str);
78     # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableSectionElement" , js_name = deleteRow)]
79     #[doc = "The `deleteRow()` method."]
80     #[doc = ""]
81     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/deleteRow)"]
82     #[doc = ""]
83     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
84     pub fn delete_row(this: &HtmlTableSectionElement, index: i32) -> Result<(), JsValue>;
85     # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableSectionElement" , js_name = insertRow)]
86     #[doc = "The `insertRow()` method."]
87     #[doc = ""]
88     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/insertRow)"]
89     #[doc = ""]
90     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
91     pub fn insert_row(this: &HtmlTableSectionElement) -> Result<HtmlElement, JsValue>;
92     # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableSectionElement" , js_name = insertRow)]
93     #[doc = "The `insertRow()` method."]
94     #[doc = ""]
95     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement/insertRow)"]
96     #[doc = ""]
97     #[doc = "*This API requires the following crate features to be activated: `HtmlTableSectionElement`*"]
98     pub fn insert_row_with_index(
99         this: &HtmlTableSectionElement,
100         index: i32,
101     ) -> Result<HtmlElement, JsValue>;
102 }
103