web_sys/features/
gen_HtmlTableSectionElement.rs

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