1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
#![allow(unused_imports)] use super::*; use wasm_bindgen::prelude::*; #[wasm_bindgen] extern "C" { # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLTableElement , typescript_type = "HTMLTableElement")] #[derive(Debug, Clone, PartialEq, Eq)] #[doc = "The `HtmlTableElement` class."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub type HtmlTableElement; #[cfg(feature = "HtmlTableCaptionElement")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = caption)] #[doc = "Getter for the `caption` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/caption)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableCaptionElement`, `HtmlTableElement`*"] pub fn caption(this: &HtmlTableElement) -> Option<HtmlTableCaptionElement>; #[cfg(feature = "HtmlTableCaptionElement")] # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = caption)] #[doc = "Setter for the `caption` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/caption)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableCaptionElement`, `HtmlTableElement`*"] pub fn set_caption(this: &HtmlTableElement, value: Option<&HtmlTableCaptionElement>); #[cfg(feature = "HtmlTableSectionElement")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = tHead)] #[doc = "Getter for the `tHead` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tHead)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*"] pub fn t_head(this: &HtmlTableElement) -> Option<HtmlTableSectionElement>; #[cfg(feature = "HtmlTableSectionElement")] # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = tHead)] #[doc = "Setter for the `tHead` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tHead)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*"] pub fn set_t_head(this: &HtmlTableElement, value: Option<&HtmlTableSectionElement>); #[cfg(feature = "HtmlTableSectionElement")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = tFoot)] #[doc = "Getter for the `tFoot` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tFoot)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*"] pub fn t_foot(this: &HtmlTableElement) -> Option<HtmlTableSectionElement>; #[cfg(feature = "HtmlTableSectionElement")] # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = tFoot)] #[doc = "Setter for the `tFoot` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tFoot)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`, `HtmlTableSectionElement`*"] pub fn set_t_foot(this: &HtmlTableElement, value: Option<&HtmlTableSectionElement>); #[cfg(feature = "HtmlCollection")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = tBodies)] #[doc = "Getter for the `tBodies` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/tBodies)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableElement`*"] pub fn t_bodies(this: &HtmlTableElement) -> HtmlCollection; #[cfg(feature = "HtmlCollection")] # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = rows)] #[doc = "Getter for the `rows` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rows)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlCollection`, `HtmlTableElement`*"] pub fn rows(this: &HtmlTableElement) -> HtmlCollection; # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = align)] #[doc = "Getter for the `align` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/align)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn align(this: &HtmlTableElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = align)] #[doc = "Setter for the `align` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/align)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn set_align(this: &HtmlTableElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = border)] #[doc = "Getter for the `border` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/border)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn border(this: &HtmlTableElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = border)] #[doc = "Setter for the `border` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/border)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn set_border(this: &HtmlTableElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = frame)] #[doc = "Getter for the `frame` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/frame)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn frame(this: &HtmlTableElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = frame)] #[doc = "Setter for the `frame` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/frame)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn set_frame(this: &HtmlTableElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = rules)] #[doc = "Getter for the `rules` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rules)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn rules(this: &HtmlTableElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = rules)] #[doc = "Setter for the `rules` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/rules)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn set_rules(this: &HtmlTableElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = summary)] #[doc = "Getter for the `summary` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/summary)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn summary(this: &HtmlTableElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = summary)] #[doc = "Setter for the `summary` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/summary)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn set_summary(this: &HtmlTableElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = width)] #[doc = "Getter for the `width` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/width)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn width(this: &HtmlTableElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = width)] #[doc = "Setter for the `width` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/width)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn set_width(this: &HtmlTableElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = bgColor)] #[doc = "Getter for the `bgColor` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/bgColor)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn bg_color(this: &HtmlTableElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = bgColor)] #[doc = "Setter for the `bgColor` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/bgColor)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn set_bg_color(this: &HtmlTableElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = cellPadding)] #[doc = "Getter for the `cellPadding` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellPadding)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn cell_padding(this: &HtmlTableElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = cellPadding)] #[doc = "Setter for the `cellPadding` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellPadding)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn set_cell_padding(this: &HtmlTableElement, value: &str); # [wasm_bindgen (structural , method , getter , js_class = "HTMLTableElement" , js_name = cellSpacing)] #[doc = "Getter for the `cellSpacing` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellSpacing)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn cell_spacing(this: &HtmlTableElement) -> String; # [wasm_bindgen (structural , method , setter , js_class = "HTMLTableElement" , js_name = cellSpacing)] #[doc = "Setter for the `cellSpacing` field of this object."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/cellSpacing)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn set_cell_spacing(this: &HtmlTableElement, value: &str); # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = createCaption)] #[doc = "The `createCaption()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createCaption)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn create_caption(this: &HtmlTableElement) -> HtmlElement; # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = createTBody)] #[doc = "The `createTBody()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTBody)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn create_t_body(this: &HtmlTableElement) -> HtmlElement; # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = createTFoot)] #[doc = "The `createTFoot()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTFoot)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn create_t_foot(this: &HtmlTableElement) -> HtmlElement; # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = createTHead)] #[doc = "The `createTHead()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/createTHead)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn create_t_head(this: &HtmlTableElement) -> HtmlElement; # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = deleteCaption)] #[doc = "The `deleteCaption()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteCaption)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn delete_caption(this: &HtmlTableElement); # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableElement" , js_name = deleteRow)] #[doc = "The `deleteRow()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteRow)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn delete_row(this: &HtmlTableElement, index: i32) -> Result<(), JsValue>; # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = deleteTFoot)] #[doc = "The `deleteTFoot()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteTFoot)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn delete_t_foot(this: &HtmlTableElement); # [wasm_bindgen (method , structural , js_class = "HTMLTableElement" , js_name = deleteTHead)] #[doc = "The `deleteTHead()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/deleteTHead)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn delete_t_head(this: &HtmlTableElement); # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableElement" , js_name = insertRow)] #[doc = "The `insertRow()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/insertRow)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn insert_row(this: &HtmlTableElement) -> Result<HtmlElement, JsValue>; # [wasm_bindgen (catch , method , structural , js_class = "HTMLTableElement" , js_name = insertRow)] #[doc = "The `insertRow()` method."] #[doc = ""] #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement/insertRow)"] #[doc = ""] #[doc = "*This API requires the following crate features to be activated: `HtmlTableElement`*"] pub fn insert_row_with_index( this: &HtmlTableElement, index: i32, ) -> Result<HtmlElement, JsValue>; }