maxcountryman_web_sys/features/
gen_HtmlTableRowElement.rs

1#![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 = HTMLTableRowElement , typescript_type = "HTMLTableRowElement")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `HtmlTableRowElement` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
13    pub type HtmlTableRowElement;
14    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = rowIndex)]
15    #[doc = "Getter for the `rowIndex` field of this object."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/rowIndex)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
20    pub fn row_index(this: &HtmlTableRowElement) -> i32;
21    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = sectionRowIndex)]
22    #[doc = "Getter for the `sectionRowIndex` field of this object."]
23    #[doc = ""]
24    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/sectionRowIndex)"]
25    #[doc = ""]
26    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
27    pub fn section_row_index(this: &HtmlTableRowElement) -> i32;
28    #[cfg(feature = "HtmlCollection")]
29    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = cells)]
30    #[doc = "Getter for the `cells` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/cells)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableRowElement`*"]
35    pub fn cells(this: &HtmlTableRowElement) -> HtmlCollection;
36    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = align)]
37    #[doc = "Getter for the `align` field of this object."]
38    #[doc = ""]
39    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/align)"]
40    #[doc = ""]
41    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
42    pub fn align(this: &HtmlTableRowElement) -> String;
43    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableRowElement" , js_name = align)]
44    #[doc = "Setter for the `align` field of this object."]
45    #[doc = ""]
46    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/align)"]
47    #[doc = ""]
48    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
49    pub fn set_align(this: &HtmlTableRowElement, value: &str);
50    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = ch)]
51    #[doc = "Getter for the `ch` field of this object."]
52    #[doc = ""]
53    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/ch)"]
54    #[doc = ""]
55    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
56    pub fn ch(this: &HtmlTableRowElement) -> String;
57    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableRowElement" , js_name = ch)]
58    #[doc = "Setter for the `ch` field of this object."]
59    #[doc = ""]
60    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/ch)"]
61    #[doc = ""]
62    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
63    pub fn set_ch(this: &HtmlTableRowElement, value: &str);
64    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = chOff)]
65    #[doc = "Getter for the `chOff` field of this object."]
66    #[doc = ""]
67    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/chOff)"]
68    #[doc = ""]
69    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
70    pub fn ch_off(this: &HtmlTableRowElement) -> String;
71    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableRowElement" , js_name = chOff)]
72    #[doc = "Setter for the `chOff` field of this object."]
73    #[doc = ""]
74    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/chOff)"]
75    #[doc = ""]
76    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
77    pub fn set_ch_off(this: &HtmlTableRowElement, value: &str);
78    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = vAlign)]
79    #[doc = "Getter for the `vAlign` field of this object."]
80    #[doc = ""]
81    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/vAlign)"]
82    #[doc = ""]
83    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
84    pub fn v_align(this: &HtmlTableRowElement) -> String;
85    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableRowElement" , js_name = vAlign)]
86    #[doc = "Setter for the `vAlign` field of this object."]
87    #[doc = ""]
88    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/vAlign)"]
89    #[doc = ""]
90    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
91    pub fn set_v_align(this: &HtmlTableRowElement, value: &str);
92    # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableRowElement" , js_name = bgColor)]
93    #[doc = "Getter for the `bgColor` field of this object."]
94    #[doc = ""]
95    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/bgColor)"]
96    #[doc = ""]
97    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
98    pub fn bg_color(this: &HtmlTableRowElement) -> String;
99    # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableRowElement" , js_name = bgColor)]
100    #[doc = "Setter for the `bgColor` field of this object."]
101    #[doc = ""]
102    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/bgColor)"]
103    #[doc = ""]
104    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
105    pub fn set_bg_color(this: &HtmlTableRowElement, value: &str);
106    # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableRowElement" , js_name = deleteCell)]
107    #[doc = "The `deleteCell()` method."]
108    #[doc = ""]
109    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/deleteCell)"]
110    #[doc = ""]
111    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
112    pub fn delete_cell(this: &HtmlTableRowElement, index: i32) -> Result<(), JsValue>;
113    # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableRowElement" , js_name = insertCell)]
114    #[doc = "The `insertCell()` method."]
115    #[doc = ""]
116    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/insertCell)"]
117    #[doc = ""]
118    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
119    pub fn insert_cell(this: &HtmlTableRowElement) -> Result<HtmlElement, JsValue>;
120    # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableRowElement" , js_name = insertCell)]
121    #[doc = "The `insertCell()` method."]
122    #[doc = ""]
123    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement/insertCell)"]
124    #[doc = ""]
125    #[doc = "*This API requires the following crate features to be activated: `HtmlTableRowElement`*"]
126    pub fn insert_cell_with_index(
127        this: &HtmlTableRowElement,
128        index: i32,
129    ) -> Result<HtmlElement, JsValue>;
130}