1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 #[wasm_bindgen(
8 extends = "HtmlElement",
9 extends = "Element",
10 extends = "Node",
11 extends = "EventTarget",
12 extends = "::js_sys::Object",
13 js_name = "HTMLTableCellElement",
14 typescript_type = "HTMLTableCellElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `HtmlTableCellElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
22 pub type HtmlTableCellElement;
23 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "colSpan")]
24 #[doc = "Getter for the `colSpan` field of this object."]
25 #[doc = ""]
26 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/colSpan)"]
27 #[doc = ""]
28 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
29 pub fn col_span(this: &HtmlTableCellElement) -> u32;
30 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "colSpan")]
31 #[doc = "Setter for the `colSpan` field of this object."]
32 #[doc = ""]
33 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/colSpan)"]
34 #[doc = ""]
35 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
36 pub fn set_col_span(this: &HtmlTableCellElement, value: u32);
37 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "rowSpan")]
38 #[doc = "Getter for the `rowSpan` field of this object."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/rowSpan)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
43 pub fn row_span(this: &HtmlTableCellElement) -> u32;
44 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "rowSpan")]
45 #[doc = "Setter for the `rowSpan` field of this object."]
46 #[doc = ""]
47 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/rowSpan)"]
48 #[doc = ""]
49 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
50 pub fn set_row_span(this: &HtmlTableCellElement, value: u32);
51 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "headers")]
52 #[doc = "Getter for the `headers` field of this object."]
53 #[doc = ""]
54 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/headers)"]
55 #[doc = ""]
56 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
57 pub fn headers(this: &HtmlTableCellElement) -> ::alloc::string::String;
58 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "headers")]
59 #[doc = "Setter for the `headers` field of this object."]
60 #[doc = ""]
61 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/headers)"]
62 #[doc = ""]
63 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
64 pub fn set_headers(this: &HtmlTableCellElement, value: &str);
65 #[wasm_bindgen(
66 method,
67 getter,
68 js_class = "HTMLTableCellElement",
69 js_name = "cellIndex"
70 )]
71 #[doc = "Getter for the `cellIndex` field of this object."]
72 #[doc = ""]
73 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/cellIndex)"]
74 #[doc = ""]
75 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
76 pub fn cell_index(this: &HtmlTableCellElement) -> i32;
77 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "abbr")]
78 #[doc = "Getter for the `abbr` field of this object."]
79 #[doc = ""]
80 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/abbr)"]
81 #[doc = ""]
82 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
83 pub fn abbr(this: &HtmlTableCellElement) -> ::alloc::string::String;
84 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "abbr")]
85 #[doc = "Setter for the `abbr` field of this object."]
86 #[doc = ""]
87 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/abbr)"]
88 #[doc = ""]
89 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
90 pub fn set_abbr(this: &HtmlTableCellElement, value: &str);
91 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "scope")]
92 #[doc = "Getter for the `scope` field of this object."]
93 #[doc = ""]
94 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/scope)"]
95 #[doc = ""]
96 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
97 pub fn scope(this: &HtmlTableCellElement) -> ::alloc::string::String;
98 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "scope")]
99 #[doc = "Setter for the `scope` field of this object."]
100 #[doc = ""]
101 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/scope)"]
102 #[doc = ""]
103 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
104 pub fn set_scope(this: &HtmlTableCellElement, value: &str);
105 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "align")]
106 #[doc = "Getter for the `align` field of this object."]
107 #[doc = ""]
108 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/align)"]
109 #[doc = ""]
110 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
111 pub fn align(this: &HtmlTableCellElement) -> ::alloc::string::String;
112 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "align")]
113 #[doc = "Setter for the `align` field of this object."]
114 #[doc = ""]
115 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/align)"]
116 #[doc = ""]
117 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
118 pub fn set_align(this: &HtmlTableCellElement, value: &str);
119 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "axis")]
120 #[doc = "Getter for the `axis` field of this object."]
121 #[doc = ""]
122 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/axis)"]
123 #[doc = ""]
124 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
125 pub fn axis(this: &HtmlTableCellElement) -> ::alloc::string::String;
126 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "axis")]
127 #[doc = "Setter for the `axis` field of this object."]
128 #[doc = ""]
129 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/axis)"]
130 #[doc = ""]
131 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
132 pub fn set_axis(this: &HtmlTableCellElement, value: &str);
133 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "height")]
134 #[doc = "Getter for the `height` field of this object."]
135 #[doc = ""]
136 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/height)"]
137 #[doc = ""]
138 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
139 pub fn height(this: &HtmlTableCellElement) -> ::alloc::string::String;
140 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "height")]
141 #[doc = "Setter for the `height` field of this object."]
142 #[doc = ""]
143 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/height)"]
144 #[doc = ""]
145 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
146 pub fn set_height(this: &HtmlTableCellElement, value: &str);
147 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "width")]
148 #[doc = "Getter for the `width` field of this object."]
149 #[doc = ""]
150 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/width)"]
151 #[doc = ""]
152 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
153 pub fn width(this: &HtmlTableCellElement) -> ::alloc::string::String;
154 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "width")]
155 #[doc = "Setter for the `width` field of this object."]
156 #[doc = ""]
157 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/width)"]
158 #[doc = ""]
159 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
160 pub fn set_width(this: &HtmlTableCellElement, value: &str);
161 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "ch")]
162 #[doc = "Getter for the `ch` field of this object."]
163 #[doc = ""]
164 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/ch)"]
165 #[doc = ""]
166 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
167 pub fn ch(this: &HtmlTableCellElement) -> ::alloc::string::String;
168 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "ch")]
169 #[doc = "Setter for the `ch` field of this object."]
170 #[doc = ""]
171 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/ch)"]
172 #[doc = ""]
173 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
174 pub fn set_ch(this: &HtmlTableCellElement, value: &str);
175 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "chOff")]
176 #[doc = "Getter for the `chOff` field of this object."]
177 #[doc = ""]
178 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/chOff)"]
179 #[doc = ""]
180 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
181 pub fn ch_off(this: &HtmlTableCellElement) -> ::alloc::string::String;
182 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "chOff")]
183 #[doc = "Setter for the `chOff` field of this object."]
184 #[doc = ""]
185 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/chOff)"]
186 #[doc = ""]
187 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
188 pub fn set_ch_off(this: &HtmlTableCellElement, value: &str);
189 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "noWrap")]
190 #[doc = "Getter for the `noWrap` field of this object."]
191 #[doc = ""]
192 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/noWrap)"]
193 #[doc = ""]
194 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
195 pub fn no_wrap(this: &HtmlTableCellElement) -> bool;
196 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "noWrap")]
197 #[doc = "Setter for the `noWrap` field of this object."]
198 #[doc = ""]
199 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/noWrap)"]
200 #[doc = ""]
201 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
202 pub fn set_no_wrap(this: &HtmlTableCellElement, value: bool);
203 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "vAlign")]
204 #[doc = "Getter for the `vAlign` field of this object."]
205 #[doc = ""]
206 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/vAlign)"]
207 #[doc = ""]
208 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
209 pub fn v_align(this: &HtmlTableCellElement) -> ::alloc::string::String;
210 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "vAlign")]
211 #[doc = "Setter for the `vAlign` field of this object."]
212 #[doc = ""]
213 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/vAlign)"]
214 #[doc = ""]
215 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
216 pub fn set_v_align(this: &HtmlTableCellElement, value: &str);
217 #[wasm_bindgen(method, getter, js_class = "HTMLTableCellElement", js_name = "bgColor")]
218 #[doc = "Getter for the `bgColor` field of this object."]
219 #[doc = ""]
220 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/bgColor)"]
221 #[doc = ""]
222 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
223 pub fn bg_color(this: &HtmlTableCellElement) -> ::alloc::string::String;
224 #[wasm_bindgen(method, setter, js_class = "HTMLTableCellElement", js_name = "bgColor")]
225 #[doc = "Setter for the `bgColor` field of this object."]
226 #[doc = ""]
227 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement/bgColor)"]
228 #[doc = ""]
229 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCellElement`*"]
230 pub fn set_bg_color(this: &HtmlTableCellElement, value: &str);
231}