| 1 | #![allow (unused_imports)] |
| 2 | #![allow (clippy::all)] |
| 3 | use super::*; |
| 4 | use wasm_bindgen::prelude::*; |
| 5 | #[wasm_bindgen ] |
| 6 | unsafeextern "C" { |
| 7 | # [wasm_bindgen (extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = Element , typescript_type = "Element" )] |
| 8 | #[derive (Debug, Clone, PartialEq, Eq)] |
| 9 | #[doc = "The `Element` class." ] |
| 10 | #[doc = "" ] |
| 11 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element)" ] |
| 12 | #[doc = "" ] |
| 13 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 14 | pub type Element; |
| 15 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = namespaceURI)] |
| 16 | #[doc = "Getter for the `namespaceURI` field of this object." ] |
| 17 | #[doc = "" ] |
| 18 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/namespaceURI)" ] |
| 19 | #[doc = "" ] |
| 20 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 21 | pub unsafefn namespace_uri(this: &Element) -> Option<::alloc::string::String>; |
| 22 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = prefix)] |
| 23 | #[doc = "Getter for the `prefix` field of this object." ] |
| 24 | #[doc = "" ] |
| 25 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prefix)" ] |
| 26 | #[doc = "" ] |
| 27 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 28 | pub unsafefn prefix(this: &Element) -> Option<::alloc::string::String>; |
| 29 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = localName)] |
| 30 | #[doc = "Getter for the `localName` field of this object." ] |
| 31 | #[doc = "" ] |
| 32 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/localName)" ] |
| 33 | #[doc = "" ] |
| 34 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 35 | pub unsafefn local_name(this: &Element) -> ::alloc::string::String; |
| 36 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = tagName)] |
| 37 | #[doc = "Getter for the `tagName` field of this object." ] |
| 38 | #[doc = "" ] |
| 39 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/tagName)" ] |
| 40 | #[doc = "" ] |
| 41 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 42 | pub unsafefn tag_name(this: &Element) -> ::alloc::string::String; |
| 43 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = id)] |
| 44 | #[doc = "Getter for the `id` field of this object." ] |
| 45 | #[doc = "" ] |
| 46 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/id)" ] |
| 47 | #[doc = "" ] |
| 48 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 49 | pub unsafefn id(this: &Element) -> ::alloc::string::String; |
| 50 | # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = id)] |
| 51 | #[doc = "Setter for the `id` field of this object." ] |
| 52 | #[doc = "" ] |
| 53 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/id)" ] |
| 54 | #[doc = "" ] |
| 55 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 56 | pub unsafefn set_id(this: &Element, value: &str); |
| 57 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = className)] |
| 58 | #[doc = "Getter for the `className` field of this object." ] |
| 59 | #[doc = "" ] |
| 60 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)" ] |
| 61 | #[doc = "" ] |
| 62 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 63 | pub unsafefn class_name(this: &Element) -> ::alloc::string::String; |
| 64 | # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = className)] |
| 65 | #[doc = "Setter for the `className` field of this object." ] |
| 66 | #[doc = "" ] |
| 67 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/className)" ] |
| 68 | #[doc = "" ] |
| 69 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 70 | pub unsafefn set_class_name(this: &Element, value: &str); |
| 71 | #[cfg (feature = "DomTokenList" )] |
| 72 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = classList)] |
| 73 | #[doc = "Getter for the `classList` field of this object." ] |
| 74 | #[doc = "" ] |
| 75 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/classList)" ] |
| 76 | #[doc = "" ] |
| 77 | #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `Element`*" ] |
| 78 | pub fn class_list(this: &Element) -> DomTokenList; |
| 79 | #[cfg (feature = "NamedNodeMap" )] |
| 80 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = attributes)] |
| 81 | #[doc = "Getter for the `attributes` field of this object." ] |
| 82 | #[doc = "" ] |
| 83 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes)" ] |
| 84 | #[doc = "" ] |
| 85 | #[doc = "*This API requires the following crate features to be activated: `Element`, `NamedNodeMap`*" ] |
| 86 | pub fn attributes(this: &Element) -> NamedNodeMap; |
| 87 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = scrollTop)] |
| 88 | #[doc = "Getter for the `scrollTop` field of this object." ] |
| 89 | #[doc = "" ] |
| 90 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)" ] |
| 91 | #[doc = "" ] |
| 92 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 93 | pub unsafefn scroll_top(this: &Element) -> i32; |
| 94 | # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = scrollTop)] |
| 95 | #[doc = "Setter for the `scrollTop` field of this object." ] |
| 96 | #[doc = "" ] |
| 97 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop)" ] |
| 98 | #[doc = "" ] |
| 99 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 100 | pub unsafefn set_scroll_top(this: &Element, value: i32); |
| 101 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = scrollLeft)] |
| 102 | #[doc = "Getter for the `scrollLeft` field of this object." ] |
| 103 | #[doc = "" ] |
| 104 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)" ] |
| 105 | #[doc = "" ] |
| 106 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 107 | pub unsafefn scroll_left(this: &Element) -> i32; |
| 108 | # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = scrollLeft)] |
| 109 | #[doc = "Setter for the `scrollLeft` field of this object." ] |
| 110 | #[doc = "" ] |
| 111 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft)" ] |
| 112 | #[doc = "" ] |
| 113 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 114 | pub unsafefn set_scroll_left(this: &Element, value: i32); |
| 115 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = scrollWidth)] |
| 116 | #[doc = "Getter for the `scrollWidth` field of this object." ] |
| 117 | #[doc = "" ] |
| 118 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollWidth)" ] |
| 119 | #[doc = "" ] |
| 120 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 121 | pub unsafefn scroll_width(this: &Element) -> i32; |
| 122 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = scrollHeight)] |
| 123 | #[doc = "Getter for the `scrollHeight` field of this object." ] |
| 124 | #[doc = "" ] |
| 125 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight)" ] |
| 126 | #[doc = "" ] |
| 127 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 128 | pub unsafefn scroll_height(this: &Element) -> i32; |
| 129 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = clientTop)] |
| 130 | #[doc = "Getter for the `clientTop` field of this object." ] |
| 131 | #[doc = "" ] |
| 132 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientTop)" ] |
| 133 | #[doc = "" ] |
| 134 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 135 | pub unsafefn client_top(this: &Element) -> i32; |
| 136 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = clientLeft)] |
| 137 | #[doc = "Getter for the `clientLeft` field of this object." ] |
| 138 | #[doc = "" ] |
| 139 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientLeft)" ] |
| 140 | #[doc = "" ] |
| 141 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 142 | pub unsafefn client_left(this: &Element) -> i32; |
| 143 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = clientWidth)] |
| 144 | #[doc = "Getter for the `clientWidth` field of this object." ] |
| 145 | #[doc = "" ] |
| 146 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientWidth)" ] |
| 147 | #[doc = "" ] |
| 148 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 149 | pub unsafefn client_width(this: &Element) -> i32; |
| 150 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = clientHeight)] |
| 151 | #[doc = "Getter for the `clientHeight` field of this object." ] |
| 152 | #[doc = "" ] |
| 153 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/clientHeight)" ] |
| 154 | #[doc = "" ] |
| 155 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 156 | pub unsafefn client_height(this: &Element) -> i32; |
| 157 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = innerHTML)] |
| 158 | #[doc = "Getter for the `innerHTML` field of this object." ] |
| 159 | #[doc = "" ] |
| 160 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)" ] |
| 161 | #[doc = "" ] |
| 162 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 163 | pub unsafefn inner_html(this: &Element) -> ::alloc::string::String; |
| 164 | # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = innerHTML)] |
| 165 | #[doc = "Setter for the `innerHTML` field of this object." ] |
| 166 | #[doc = "" ] |
| 167 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)" ] |
| 168 | #[doc = "" ] |
| 169 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 170 | pub unsafefn set_inner_html(this: &Element, value: &str); |
| 171 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = outerHTML)] |
| 172 | #[doc = "Getter for the `outerHTML` field of this object." ] |
| 173 | #[doc = "" ] |
| 174 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML)" ] |
| 175 | #[doc = "" ] |
| 176 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 177 | pub unsafefn outer_html(this: &Element) -> ::alloc::string::String; |
| 178 | # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = outerHTML)] |
| 179 | #[doc = "Setter for the `outerHTML` field of this object." ] |
| 180 | #[doc = "" ] |
| 181 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML)" ] |
| 182 | #[doc = "" ] |
| 183 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 184 | pub unsafefn set_outer_html(this: &Element, value: &str); |
| 185 | #[cfg (feature = "ShadowRoot" )] |
| 186 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = shadowRoot)] |
| 187 | #[doc = "Getter for the `shadowRoot` field of this object." ] |
| 188 | #[doc = "" ] |
| 189 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/shadowRoot)" ] |
| 190 | #[doc = "" ] |
| 191 | #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`*" ] |
| 192 | pub fn shadow_root(this: &Element) -> Option<ShadowRoot>; |
| 193 | #[cfg (feature = "HtmlSlotElement" )] |
| 194 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = assignedSlot)] |
| 195 | #[doc = "Getter for the `assignedSlot` field of this object." ] |
| 196 | #[doc = "" ] |
| 197 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/assignedSlot)" ] |
| 198 | #[doc = "" ] |
| 199 | #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlSlotElement`*" ] |
| 200 | pub fn assigned_slot(this: &Element) -> Option<HtmlSlotElement>; |
| 201 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = slot)] |
| 202 | #[doc = "Getter for the `slot` field of this object." ] |
| 203 | #[doc = "" ] |
| 204 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot)" ] |
| 205 | #[doc = "" ] |
| 206 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 207 | pub unsafefn slot(this: &Element) -> ::alloc::string::String; |
| 208 | # [wasm_bindgen (structural , method , setter , js_class = "Element" , js_name = slot)] |
| 209 | #[doc = "Setter for the `slot` field of this object." ] |
| 210 | #[doc = "" ] |
| 211 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/slot)" ] |
| 212 | #[doc = "" ] |
| 213 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 214 | pub unsafefn set_slot(this: &Element, value: &str); |
| 215 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = previousElementSibling)] |
| 216 | #[doc = "Getter for the `previousElementSibling` field of this object." ] |
| 217 | #[doc = "" ] |
| 218 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/previousElementSibling)" ] |
| 219 | #[doc = "" ] |
| 220 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 221 | pub unsafefn previous_element_sibling(this: &Element) -> Option<Element>; |
| 222 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = nextElementSibling)] |
| 223 | #[doc = "Getter for the `nextElementSibling` field of this object." ] |
| 224 | #[doc = "" ] |
| 225 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/nextElementSibling)" ] |
| 226 | #[doc = "" ] |
| 227 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 228 | pub unsafefn next_element_sibling(this: &Element) -> Option<Element>; |
| 229 | #[cfg (feature = "HtmlCollection" )] |
| 230 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = children)] |
| 231 | #[doc = "Getter for the `children` field of this object." ] |
| 232 | #[doc = "" ] |
| 233 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/children)" ] |
| 234 | #[doc = "" ] |
| 235 | #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] |
| 236 | pub fn children(this: &Element) -> HtmlCollection; |
| 237 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = firstElementChild)] |
| 238 | #[doc = "Getter for the `firstElementChild` field of this object." ] |
| 239 | #[doc = "" ] |
| 240 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/firstElementChild)" ] |
| 241 | #[doc = "" ] |
| 242 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 243 | pub unsafefn first_element_child(this: &Element) -> Option<Element>; |
| 244 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = lastElementChild)] |
| 245 | #[doc = "Getter for the `lastElementChild` field of this object." ] |
| 246 | #[doc = "" ] |
| 247 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/lastElementChild)" ] |
| 248 | #[doc = "" ] |
| 249 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 250 | pub unsafefn last_element_child(this: &Element) -> Option<Element>; |
| 251 | # [wasm_bindgen (structural , method , getter , js_class = "Element" , js_name = childElementCount)] |
| 252 | #[doc = "Getter for the `childElementCount` field of this object." ] |
| 253 | #[doc = "" ] |
| 254 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/childElementCount)" ] |
| 255 | #[doc = "" ] |
| 256 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 257 | pub unsafefn child_element_count(this: &Element) -> u32; |
| 258 | #[cfg (all(feature = "ShadowRoot" , feature = "ShadowRootInit" ,))] |
| 259 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = attachShadow)] |
| 260 | #[doc = "The `attachShadow()` method." ] |
| 261 | #[doc = "" ] |
| 262 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow)" ] |
| 263 | #[doc = "" ] |
| 264 | #[doc = "*This API requires the following crate features to be activated: `Element`, `ShadowRoot`, `ShadowRootInit`*" ] |
| 265 | pub fn attach_shadow( |
| 266 | this: &Element, |
| 267 | shadow_root_init_dict: &ShadowRootInit, |
| 268 | ) -> Result<ShadowRoot, JsValue>; |
| 269 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = closest)] |
| 270 | #[doc = "The `closest()` method." ] |
| 271 | #[doc = "" ] |
| 272 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/closest)" ] |
| 273 | #[doc = "" ] |
| 274 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 275 | pub unsafefn closest(this: &Element, selector: &str) -> Result<Option<Element>, JsValue>; |
| 276 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAttribute)] |
| 277 | #[doc = "The `getAttribute()` method." ] |
| 278 | #[doc = "" ] |
| 279 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttribute)" ] |
| 280 | #[doc = "" ] |
| 281 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 282 | pub unsafefn get_attribute(this: &Element, name: &str) -> Option<::alloc::string::String>; |
| 283 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAttributeNS)] |
| 284 | #[doc = "The `getAttributeNS()` method." ] |
| 285 | #[doc = "" ] |
| 286 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNS)" ] |
| 287 | #[doc = "" ] |
| 288 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 289 | pub unsafefn get_attribute_ns( |
| 290 | this: &Element, |
| 291 | namespace: Option<&str>, |
| 292 | local_name: &str, |
| 293 | ) -> Option<::alloc::string::String>; |
| 294 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAttributeNames)] |
| 295 | #[doc = "The `getAttributeNames()` method." ] |
| 296 | #[doc = "" ] |
| 297 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNames)" ] |
| 298 | #[doc = "" ] |
| 299 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 300 | pub unsafefn get_attribute_names(this: &Element) -> ::js_sys::Array; |
| 301 | #[cfg (feature = "Attr" )] |
| 302 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAttributeNode)] |
| 303 | #[doc = "The `getAttributeNode()` method." ] |
| 304 | #[doc = "" ] |
| 305 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNode)" ] |
| 306 | #[doc = "" ] |
| 307 | #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*" ] |
| 308 | pub fn get_attribute_node(this: &Element, name: &str) -> Option<Attr>; |
| 309 | #[cfg (feature = "Attr" )] |
| 310 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAttributeNodeNS)] |
| 311 | #[doc = "The `getAttributeNodeNS()` method." ] |
| 312 | #[doc = "" ] |
| 313 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAttributeNodeNS)" ] |
| 314 | #[doc = "" ] |
| 315 | #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*" ] |
| 316 | pub fn get_attribute_node_ns( |
| 317 | this: &Element, |
| 318 | namespace_uri: Option<&str>, |
| 319 | local_name: &str, |
| 320 | ) -> Option<Attr>; |
| 321 | #[cfg (feature = "DomRect" )] |
| 322 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getBoundingClientRect)] |
| 323 | #[doc = "The `getBoundingClientRect()` method." ] |
| 324 | #[doc = "" ] |
| 325 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect)" ] |
| 326 | #[doc = "" ] |
| 327 | #[doc = "*This API requires the following crate features to be activated: `DomRect`, `Element`*" ] |
| 328 | pub unsafefn get_bounding_client_rect(this: &Element) -> DomRect; |
| 329 | #[cfg (feature = "DomRectList" )] |
| 330 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getClientRects)] |
| 331 | #[doc = "The `getClientRects()` method." ] |
| 332 | #[doc = "" ] |
| 333 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getClientRects)" ] |
| 334 | #[doc = "" ] |
| 335 | #[doc = "*This API requires the following crate features to be activated: `DomRectList`, `Element`*" ] |
| 336 | pub fn get_client_rects(this: &Element) -> DomRectList; |
| 337 | #[cfg (feature = "HtmlCollection" )] |
| 338 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getElementsByClassName)] |
| 339 | #[doc = "The `getElementsByClassName()` method." ] |
| 340 | #[doc = "" ] |
| 341 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByClassName)" ] |
| 342 | #[doc = "" ] |
| 343 | #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] |
| 344 | pub fn get_elements_by_class_name(this: &Element, class_names: &str) -> HtmlCollection; |
| 345 | #[cfg (feature = "HtmlCollection" )] |
| 346 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getElementsByTagName)] |
| 347 | #[doc = "The `getElementsByTagName()` method." ] |
| 348 | #[doc = "" ] |
| 349 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagName)" ] |
| 350 | #[doc = "" ] |
| 351 | #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] |
| 352 | pub fn get_elements_by_tag_name(this: &Element, local_name: &str) -> HtmlCollection; |
| 353 | #[cfg (feature = "HtmlCollection" )] |
| 354 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = getElementsByTagNameNS)] |
| 355 | #[doc = "The `getElementsByTagNameNS()` method." ] |
| 356 | #[doc = "" ] |
| 357 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getElementsByTagNameNS)" ] |
| 358 | #[doc = "" ] |
| 359 | #[doc = "*This API requires the following crate features to be activated: `Element`, `HtmlCollection`*" ] |
| 360 | pub fn get_elements_by_tag_name_ns( |
| 361 | this: &Element, |
| 362 | namespace: Option<&str>, |
| 363 | local_name: &str, |
| 364 | ) -> Result<HtmlCollection, JsValue>; |
| 365 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = hasAttribute)] |
| 366 | #[doc = "The `hasAttribute()` method." ] |
| 367 | #[doc = "" ] |
| 368 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute)" ] |
| 369 | #[doc = "" ] |
| 370 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 371 | pub unsafefn has_attribute(this: &Element, name: &str) -> bool; |
| 372 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = hasAttributeNS)] |
| 373 | #[doc = "The `hasAttributeNS()` method." ] |
| 374 | #[doc = "" ] |
| 375 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributeNS)" ] |
| 376 | #[doc = "" ] |
| 377 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 378 | pub unsafefn has_attribute_ns(this: &Element, namespace: Option<&str>, local_name: &str) -> bool; |
| 379 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = hasAttributes)] |
| 380 | #[doc = "The `hasAttributes()` method." ] |
| 381 | #[doc = "" ] |
| 382 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttributes)" ] |
| 383 | #[doc = "" ] |
| 384 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 385 | pub unsafefn has_attributes(this: &Element) -> bool; |
| 386 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = hasPointerCapture)] |
| 387 | #[doc = "The `hasPointerCapture()` method." ] |
| 388 | #[doc = "" ] |
| 389 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/hasPointerCapture)" ] |
| 390 | #[doc = "" ] |
| 391 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 392 | pub unsafefn has_pointer_capture(this: &Element, pointer_id: i32) -> bool; |
| 393 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = insertAdjacentElement)] |
| 394 | #[doc = "The `insertAdjacentElement()` method." ] |
| 395 | #[doc = "" ] |
| 396 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentElement)" ] |
| 397 | #[doc = "" ] |
| 398 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 399 | pub unsafefn insert_adjacent_element( |
| 400 | this: &Element, |
| 401 | where_: &str, |
| 402 | element: &Element, |
| 403 | ) -> Result<Option<Element>, JsValue>; |
| 404 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = insertAdjacentHTML)] |
| 405 | #[doc = "The `insertAdjacentHTML()` method." ] |
| 406 | #[doc = "" ] |
| 407 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentHTML)" ] |
| 408 | #[doc = "" ] |
| 409 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 410 | pub unsafefn insert_adjacent_html(this: &Element, position: &str, text: &str) -> Result<(), JsValue>; |
| 411 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = insertAdjacentText)] |
| 412 | #[doc = "The `insertAdjacentText()` method." ] |
| 413 | #[doc = "" ] |
| 414 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/insertAdjacentText)" ] |
| 415 | #[doc = "" ] |
| 416 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 417 | pub unsafefn insert_adjacent_text(this: &Element, where_: &str, data: &str) -> Result<(), JsValue>; |
| 418 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = matches)] |
| 419 | #[doc = "The `matches()` method." ] |
| 420 | #[doc = "" ] |
| 421 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/matches)" ] |
| 422 | #[doc = "" ] |
| 423 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 424 | pub unsafefn matches(this: &Element, selector: &str) -> Result<bool, JsValue>; |
| 425 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = querySelector)] |
| 426 | #[doc = "The `querySelector()` method." ] |
| 427 | #[doc = "" ] |
| 428 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelector)" ] |
| 429 | #[doc = "" ] |
| 430 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 431 | pub unsafefn query_selector(this: &Element, selectors: &str) -> Result<Option<Element>, JsValue>; |
| 432 | #[cfg (feature = "NodeList" )] |
| 433 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = querySelectorAll)] |
| 434 | #[doc = "The `querySelectorAll()` method." ] |
| 435 | #[doc = "" ] |
| 436 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll)" ] |
| 437 | #[doc = "" ] |
| 438 | #[doc = "*This API requires the following crate features to be activated: `Element`, `NodeList`*" ] |
| 439 | pub fn query_selector_all(this: &Element, selectors: &str) -> Result<NodeList, JsValue>; |
| 440 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = releaseCapture)] |
| 441 | #[doc = "The `releaseCapture()` method." ] |
| 442 | #[doc = "" ] |
| 443 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/releaseCapture)" ] |
| 444 | #[doc = "" ] |
| 445 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 446 | pub unsafefn release_capture(this: &Element); |
| 447 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = releasePointerCapture)] |
| 448 | #[doc = "The `releasePointerCapture()` method." ] |
| 449 | #[doc = "" ] |
| 450 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/releasePointerCapture)" ] |
| 451 | #[doc = "" ] |
| 452 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 453 | pub unsafefn release_pointer_capture(this: &Element, pointer_id: i32) -> Result<(), JsValue>; |
| 454 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = removeAttribute)] |
| 455 | #[doc = "The `removeAttribute()` method." ] |
| 456 | #[doc = "" ] |
| 457 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttribute)" ] |
| 458 | #[doc = "" ] |
| 459 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 460 | pub unsafefn remove_attribute(this: &Element, name: &str) -> Result<(), JsValue>; |
| 461 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = removeAttributeNS)] |
| 462 | #[doc = "The `removeAttributeNS()` method." ] |
| 463 | #[doc = "" ] |
| 464 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNS)" ] |
| 465 | #[doc = "" ] |
| 466 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 467 | pub unsafefn remove_attribute_ns( |
| 468 | this: &Element, |
| 469 | namespace: Option<&str>, |
| 470 | local_name: &str, |
| 471 | ) -> Result<(), JsValue>; |
| 472 | #[cfg (feature = "Attr" )] |
| 473 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = removeAttributeNode)] |
| 474 | #[doc = "The `removeAttributeNode()` method." ] |
| 475 | #[doc = "" ] |
| 476 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/removeAttributeNode)" ] |
| 477 | #[doc = "" ] |
| 478 | #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*" ] |
| 479 | pub fn remove_attribute_node(this: &Element, old_attr: &Attr) -> Result<Option<Attr>, JsValue>; |
| 480 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = requestFullscreen)] |
| 481 | #[doc = "The `requestFullscreen()` method." ] |
| 482 | #[doc = "" ] |
| 483 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullscreen)" ] |
| 484 | #[doc = "" ] |
| 485 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 486 | pub unsafefn request_fullscreen(this: &Element) -> Result<(), JsValue>; |
| 487 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = requestPointerLock)] |
| 488 | #[doc = "The `requestPointerLock()` method." ] |
| 489 | #[doc = "" ] |
| 490 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/requestPointerLock)" ] |
| 491 | #[doc = "" ] |
| 492 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 493 | pub unsafefn request_pointer_lock(this: &Element); |
| 494 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scroll)] |
| 495 | #[doc = "The `scroll()` method." ] |
| 496 | #[doc = "" ] |
| 497 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)" ] |
| 498 | #[doc = "" ] |
| 499 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 500 | pub unsafefn scroll_with_x_and_y(this: &Element, x: f64, y: f64); |
| 501 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scroll)] |
| 502 | #[doc = "The `scroll()` method." ] |
| 503 | #[doc = "" ] |
| 504 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)" ] |
| 505 | #[doc = "" ] |
| 506 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 507 | pub unsafefn scroll(this: &Element); |
| 508 | #[cfg (feature = "ScrollToOptions" )] |
| 509 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scroll)] |
| 510 | #[doc = "The `scroll()` method." ] |
| 511 | #[doc = "" ] |
| 512 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scroll)" ] |
| 513 | #[doc = "" ] |
| 514 | #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*" ] |
| 515 | pub fn scroll_with_scroll_to_options(this: &Element, options: &ScrollToOptions); |
| 516 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollBy)] |
| 517 | #[doc = "The `scrollBy()` method." ] |
| 518 | #[doc = "" ] |
| 519 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)" ] |
| 520 | #[doc = "" ] |
| 521 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 522 | pub unsafefn scroll_by_with_x_and_y(this: &Element, x: f64, y: f64); |
| 523 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollBy)] |
| 524 | #[doc = "The `scrollBy()` method." ] |
| 525 | #[doc = "" ] |
| 526 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)" ] |
| 527 | #[doc = "" ] |
| 528 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 529 | pub unsafefn scroll_by(this: &Element); |
| 530 | #[cfg (feature = "ScrollToOptions" )] |
| 531 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollBy)] |
| 532 | #[doc = "The `scrollBy()` method." ] |
| 533 | #[doc = "" ] |
| 534 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy)" ] |
| 535 | #[doc = "" ] |
| 536 | #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*" ] |
| 537 | pub fn scroll_by_with_scroll_to_options(this: &Element, options: &ScrollToOptions); |
| 538 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollIntoView)] |
| 539 | #[doc = "The `scrollIntoView()` method." ] |
| 540 | #[doc = "" ] |
| 541 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)" ] |
| 542 | #[doc = "" ] |
| 543 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 544 | pub unsafefn scroll_into_view(this: &Element); |
| 545 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollIntoView)] |
| 546 | #[doc = "The `scrollIntoView()` method." ] |
| 547 | #[doc = "" ] |
| 548 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)" ] |
| 549 | #[doc = "" ] |
| 550 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 551 | pub unsafefn scroll_into_view_with_bool(this: &Element, arg: bool); |
| 552 | #[cfg (feature = "ScrollIntoViewOptions" )] |
| 553 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollIntoView)] |
| 554 | #[doc = "The `scrollIntoView()` method." ] |
| 555 | #[doc = "" ] |
| 556 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView)" ] |
| 557 | #[doc = "" ] |
| 558 | #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollIntoViewOptions`*" ] |
| 559 | pub fn scroll_into_view_with_scroll_into_view_options( |
| 560 | this: &Element, |
| 561 | arg: &ScrollIntoViewOptions, |
| 562 | ); |
| 563 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollTo)] |
| 564 | #[doc = "The `scrollTo()` method." ] |
| 565 | #[doc = "" ] |
| 566 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)" ] |
| 567 | #[doc = "" ] |
| 568 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 569 | pub unsafefn scroll_to_with_x_and_y(this: &Element, x: f64, y: f64); |
| 570 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollTo)] |
| 571 | #[doc = "The `scrollTo()` method." ] |
| 572 | #[doc = "" ] |
| 573 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)" ] |
| 574 | #[doc = "" ] |
| 575 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 576 | pub unsafefn scroll_to(this: &Element); |
| 577 | #[cfg (feature = "ScrollToOptions" )] |
| 578 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = scrollTo)] |
| 579 | #[doc = "The `scrollTo()` method." ] |
| 580 | #[doc = "" ] |
| 581 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo)" ] |
| 582 | #[doc = "" ] |
| 583 | #[doc = "*This API requires the following crate features to be activated: `Element`, `ScrollToOptions`*" ] |
| 584 | pub fn scroll_to_with_scroll_to_options(this: &Element, options: &ScrollToOptions); |
| 585 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = setAttribute)] |
| 586 | #[doc = "The `setAttribute()` method." ] |
| 587 | #[doc = "" ] |
| 588 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute)" ] |
| 589 | #[doc = "" ] |
| 590 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 591 | pub unsafefn set_attribute(this: &Element, name: &str, value: &str) -> Result<(), JsValue>; |
| 592 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = setAttributeNS)] |
| 593 | #[doc = "The `setAttributeNS()` method." ] |
| 594 | #[doc = "" ] |
| 595 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNS)" ] |
| 596 | #[doc = "" ] |
| 597 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 598 | pub unsafefn set_attribute_ns( |
| 599 | this: &Element, |
| 600 | namespace: Option<&str>, |
| 601 | name: &str, |
| 602 | value: &str, |
| 603 | ) -> Result<(), JsValue>; |
| 604 | #[cfg (feature = "Attr" )] |
| 605 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = setAttributeNode)] |
| 606 | #[doc = "The `setAttributeNode()` method." ] |
| 607 | #[doc = "" ] |
| 608 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNode)" ] |
| 609 | #[doc = "" ] |
| 610 | #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*" ] |
| 611 | pub fn set_attribute_node(this: &Element, new_attr: &Attr) -> Result<Option<Attr>, JsValue>; |
| 612 | #[cfg (feature = "Attr" )] |
| 613 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = setAttributeNodeNS)] |
| 614 | #[doc = "The `setAttributeNodeNS()` method." ] |
| 615 | #[doc = "" ] |
| 616 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttributeNodeNS)" ] |
| 617 | #[doc = "" ] |
| 618 | #[doc = "*This API requires the following crate features to be activated: `Attr`, `Element`*" ] |
| 619 | pub fn set_attribute_node_ns(this: &Element, new_attr: &Attr) -> Result<Option<Attr>, JsValue>; |
| 620 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = setCapture)] |
| 621 | #[doc = "The `setCapture()` method." ] |
| 622 | #[doc = "" ] |
| 623 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture)" ] |
| 624 | #[doc = "" ] |
| 625 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 626 | pub unsafefn set_capture(this: &Element); |
| 627 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = setCapture)] |
| 628 | #[doc = "The `setCapture()` method." ] |
| 629 | #[doc = "" ] |
| 630 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setCapture)" ] |
| 631 | #[doc = "" ] |
| 632 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 633 | pub unsafefn set_capture_with_retarget_to_element(this: &Element, retarget_to_element: bool); |
| 634 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = setPointerCapture)] |
| 635 | #[doc = "The `setPointerCapture()` method." ] |
| 636 | #[doc = "" ] |
| 637 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/setPointerCapture)" ] |
| 638 | #[doc = "" ] |
| 639 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 640 | pub unsafefn set_pointer_capture(this: &Element, pointer_id: i32) -> Result<(), JsValue>; |
| 641 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = toggleAttribute)] |
| 642 | #[doc = "The `toggleAttribute()` method." ] |
| 643 | #[doc = "" ] |
| 644 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute)" ] |
| 645 | #[doc = "" ] |
| 646 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 647 | pub unsafefn toggle_attribute(this: &Element, name: &str) -> Result<bool, JsValue>; |
| 648 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = toggleAttribute)] |
| 649 | #[doc = "The `toggleAttribute()` method." ] |
| 650 | #[doc = "" ] |
| 651 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/toggleAttribute)" ] |
| 652 | #[doc = "" ] |
| 653 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 654 | pub unsafefn toggle_attribute_with_force( |
| 655 | this: &Element, |
| 656 | name: &str, |
| 657 | force: bool, |
| 658 | ) -> Result<bool, JsValue>; |
| 659 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = webkitMatchesSelector)] |
| 660 | #[doc = "The `webkitMatchesSelector()` method." ] |
| 661 | #[doc = "" ] |
| 662 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/webkitMatchesSelector)" ] |
| 663 | #[doc = "" ] |
| 664 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 665 | pub unsafefn webkit_matches_selector(this: &Element, selector: &str) -> Result<bool, JsValue>; |
| 666 | #[cfg (web_sys_unstable_apis)] |
| 667 | #[cfg (feature = "Animation" )] |
| 668 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = animate)] |
| 669 | #[doc = "The `animate()` method." ] |
| 670 | #[doc = "" ] |
| 671 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/animate)" ] |
| 672 | #[doc = "" ] |
| 673 | #[doc = "*This API requires the following crate features to be activated: `Animation`, `Element`*" ] |
| 674 | #[doc = "" ] |
| 675 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
| 676 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
| 677 | pub fn animate(this: &Element, keyframes: Option<&::js_sys::Object>) -> Animation; |
| 678 | #[cfg (web_sys_unstable_apis)] |
| 679 | #[cfg (feature = "Animation" )] |
| 680 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = animate)] |
| 681 | #[doc = "The `animate()` method." ] |
| 682 | #[doc = "" ] |
| 683 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/animate)" ] |
| 684 | #[doc = "" ] |
| 685 | #[doc = "*This API requires the following crate features to be activated: `Animation`, `Element`*" ] |
| 686 | #[doc = "" ] |
| 687 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
| 688 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
| 689 | pub fn animate_with_f64( |
| 690 | this: &Element, |
| 691 | keyframes: Option<&::js_sys::Object>, |
| 692 | options: f64, |
| 693 | ) -> Animation; |
| 694 | #[cfg (web_sys_unstable_apis)] |
| 695 | #[cfg (all(feature = "Animation" , feature = "KeyframeAnimationOptions" ,))] |
| 696 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = animate)] |
| 697 | #[doc = "The `animate()` method." ] |
| 698 | #[doc = "" ] |
| 699 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/animate)" ] |
| 700 | #[doc = "" ] |
| 701 | #[doc = "*This API requires the following crate features to be activated: `Animation`, `Element`, `KeyframeAnimationOptions`*" ] |
| 702 | #[doc = "" ] |
| 703 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
| 704 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
| 705 | pub fn animate_with_keyframe_animation_options( |
| 706 | this: &Element, |
| 707 | keyframes: Option<&::js_sys::Object>, |
| 708 | options: &KeyframeAnimationOptions, |
| 709 | ) -> Animation; |
| 710 | #[cfg (web_sys_unstable_apis)] |
| 711 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAnimations)] |
| 712 | #[doc = "The `getAnimations()` method." ] |
| 713 | #[doc = "" ] |
| 714 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAnimations)" ] |
| 715 | #[doc = "" ] |
| 716 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 717 | #[doc = "" ] |
| 718 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
| 719 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
| 720 | pub fn get_animations(this: &Element) -> ::js_sys::Array; |
| 721 | #[cfg (web_sys_unstable_apis)] |
| 722 | #[cfg (feature = "GetAnimationsOptions" )] |
| 723 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = getAnimations)] |
| 724 | #[doc = "The `getAnimations()` method." ] |
| 725 | #[doc = "" ] |
| 726 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getAnimations)" ] |
| 727 | #[doc = "" ] |
| 728 | #[doc = "*This API requires the following crate features to be activated: `Element`, `GetAnimationsOptions`*" ] |
| 729 | #[doc = "" ] |
| 730 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ] |
| 731 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ] |
| 732 | pub fn get_animations_with_options( |
| 733 | this: &Element, |
| 734 | options: &GetAnimationsOptions, |
| 735 | ) -> ::js_sys::Array; |
| 736 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = after)] |
| 737 | #[doc = "The `after()` method." ] |
| 738 | #[doc = "" ] |
| 739 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 740 | #[doc = "" ] |
| 741 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 742 | pub unsafefn after_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>; |
| 743 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 744 | #[doc = "The `after()` method." ] |
| 745 | #[doc = "" ] |
| 746 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 747 | #[doc = "" ] |
| 748 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 749 | pub unsafefn after_with_node_0(this: &Element) -> Result<(), JsValue>; |
| 750 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 751 | #[doc = "The `after()` method." ] |
| 752 | #[doc = "" ] |
| 753 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 754 | #[doc = "" ] |
| 755 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 756 | pub unsafefn after_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>; |
| 757 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 758 | #[doc = "The `after()` method." ] |
| 759 | #[doc = "" ] |
| 760 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 761 | #[doc = "" ] |
| 762 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 763 | pub unsafefn after_with_node_2(this: &Element, nodes_1: &Node, nodes_2: &Node) |
| 764 | -> Result<(), JsValue>; |
| 765 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 766 | #[doc = "The `after()` method." ] |
| 767 | #[doc = "" ] |
| 768 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 769 | #[doc = "" ] |
| 770 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 771 | pub unsafefn after_with_node_3( |
| 772 | this: &Element, |
| 773 | nodes_1: &Node, |
| 774 | nodes_2: &Node, |
| 775 | nodes_3: &Node, |
| 776 | ) -> Result<(), JsValue>; |
| 777 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 778 | #[doc = "The `after()` method." ] |
| 779 | #[doc = "" ] |
| 780 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 781 | #[doc = "" ] |
| 782 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 783 | pub unsafefn after_with_node_4( |
| 784 | this: &Element, |
| 785 | nodes_1: &Node, |
| 786 | nodes_2: &Node, |
| 787 | nodes_3: &Node, |
| 788 | nodes_4: &Node, |
| 789 | ) -> Result<(), JsValue>; |
| 790 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 791 | #[doc = "The `after()` method." ] |
| 792 | #[doc = "" ] |
| 793 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 794 | #[doc = "" ] |
| 795 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 796 | pub unsafefn after_with_node_5( |
| 797 | this: &Element, |
| 798 | nodes_1: &Node, |
| 799 | nodes_2: &Node, |
| 800 | nodes_3: &Node, |
| 801 | nodes_4: &Node, |
| 802 | nodes_5: &Node, |
| 803 | ) -> Result<(), JsValue>; |
| 804 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 805 | #[doc = "The `after()` method." ] |
| 806 | #[doc = "" ] |
| 807 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 808 | #[doc = "" ] |
| 809 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 810 | pub unsafefn after_with_node_6( |
| 811 | this: &Element, |
| 812 | nodes_1: &Node, |
| 813 | nodes_2: &Node, |
| 814 | nodes_3: &Node, |
| 815 | nodes_4: &Node, |
| 816 | nodes_5: &Node, |
| 817 | nodes_6: &Node, |
| 818 | ) -> Result<(), JsValue>; |
| 819 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 820 | #[doc = "The `after()` method." ] |
| 821 | #[doc = "" ] |
| 822 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 823 | #[doc = "" ] |
| 824 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 825 | pub unsafefn after_with_node_7( |
| 826 | this: &Element, |
| 827 | nodes_1: &Node, |
| 828 | nodes_2: &Node, |
| 829 | nodes_3: &Node, |
| 830 | nodes_4: &Node, |
| 831 | nodes_5: &Node, |
| 832 | nodes_6: &Node, |
| 833 | nodes_7: &Node, |
| 834 | ) -> Result<(), JsValue>; |
| 835 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = after)] |
| 836 | #[doc = "The `after()` method." ] |
| 837 | #[doc = "" ] |
| 838 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 839 | #[doc = "" ] |
| 840 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 841 | pub unsafefn after_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>; |
| 842 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 843 | #[doc = "The `after()` method." ] |
| 844 | #[doc = "" ] |
| 845 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 846 | #[doc = "" ] |
| 847 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 848 | pub unsafefn after_with_str_0(this: &Element) -> Result<(), JsValue>; |
| 849 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 850 | #[doc = "The `after()` method." ] |
| 851 | #[doc = "" ] |
| 852 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 853 | #[doc = "" ] |
| 854 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 855 | pub unsafefn after_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>; |
| 856 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 857 | #[doc = "The `after()` method." ] |
| 858 | #[doc = "" ] |
| 859 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 860 | #[doc = "" ] |
| 861 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 862 | pub unsafefn after_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>; |
| 863 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 864 | #[doc = "The `after()` method." ] |
| 865 | #[doc = "" ] |
| 866 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 867 | #[doc = "" ] |
| 868 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 869 | pub unsafefn after_with_str_3( |
| 870 | this: &Element, |
| 871 | nodes_1: &str, |
| 872 | nodes_2: &str, |
| 873 | nodes_3: &str, |
| 874 | ) -> Result<(), JsValue>; |
| 875 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 876 | #[doc = "The `after()` method." ] |
| 877 | #[doc = "" ] |
| 878 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 879 | #[doc = "" ] |
| 880 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 881 | pub unsafefn after_with_str_4( |
| 882 | this: &Element, |
| 883 | nodes_1: &str, |
| 884 | nodes_2: &str, |
| 885 | nodes_3: &str, |
| 886 | nodes_4: &str, |
| 887 | ) -> Result<(), JsValue>; |
| 888 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 889 | #[doc = "The `after()` method." ] |
| 890 | #[doc = "" ] |
| 891 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 892 | #[doc = "" ] |
| 893 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 894 | pub unsafefn after_with_str_5( |
| 895 | this: &Element, |
| 896 | nodes_1: &str, |
| 897 | nodes_2: &str, |
| 898 | nodes_3: &str, |
| 899 | nodes_4: &str, |
| 900 | nodes_5: &str, |
| 901 | ) -> Result<(), JsValue>; |
| 902 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 903 | #[doc = "The `after()` method." ] |
| 904 | #[doc = "" ] |
| 905 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 906 | #[doc = "" ] |
| 907 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 908 | pub unsafefn after_with_str_6( |
| 909 | this: &Element, |
| 910 | nodes_1: &str, |
| 911 | nodes_2: &str, |
| 912 | nodes_3: &str, |
| 913 | nodes_4: &str, |
| 914 | nodes_5: &str, |
| 915 | nodes_6: &str, |
| 916 | ) -> Result<(), JsValue>; |
| 917 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = after)] |
| 918 | #[doc = "The `after()` method." ] |
| 919 | #[doc = "" ] |
| 920 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/after)" ] |
| 921 | #[doc = "" ] |
| 922 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 923 | pub unsafefn after_with_str_7( |
| 924 | this: &Element, |
| 925 | nodes_1: &str, |
| 926 | nodes_2: &str, |
| 927 | nodes_3: &str, |
| 928 | nodes_4: &str, |
| 929 | nodes_5: &str, |
| 930 | nodes_6: &str, |
| 931 | nodes_7: &str, |
| 932 | ) -> Result<(), JsValue>; |
| 933 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = before)] |
| 934 | #[doc = "The `before()` method." ] |
| 935 | #[doc = "" ] |
| 936 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 937 | #[doc = "" ] |
| 938 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 939 | pub unsafefn before_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>; |
| 940 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 941 | #[doc = "The `before()` method." ] |
| 942 | #[doc = "" ] |
| 943 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 944 | #[doc = "" ] |
| 945 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 946 | pub unsafefn before_with_node_0(this: &Element) -> Result<(), JsValue>; |
| 947 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 948 | #[doc = "The `before()` method." ] |
| 949 | #[doc = "" ] |
| 950 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 951 | #[doc = "" ] |
| 952 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 953 | pub unsafefn before_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>; |
| 954 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 955 | #[doc = "The `before()` method." ] |
| 956 | #[doc = "" ] |
| 957 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 958 | #[doc = "" ] |
| 959 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 960 | pub unsafefn before_with_node_2( |
| 961 | this: &Element, |
| 962 | nodes_1: &Node, |
| 963 | nodes_2: &Node, |
| 964 | ) -> Result<(), JsValue>; |
| 965 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 966 | #[doc = "The `before()` method." ] |
| 967 | #[doc = "" ] |
| 968 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 969 | #[doc = "" ] |
| 970 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 971 | pub unsafefn before_with_node_3( |
| 972 | this: &Element, |
| 973 | nodes_1: &Node, |
| 974 | nodes_2: &Node, |
| 975 | nodes_3: &Node, |
| 976 | ) -> Result<(), JsValue>; |
| 977 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 978 | #[doc = "The `before()` method." ] |
| 979 | #[doc = "" ] |
| 980 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 981 | #[doc = "" ] |
| 982 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 983 | pub unsafefn before_with_node_4( |
| 984 | this: &Element, |
| 985 | nodes_1: &Node, |
| 986 | nodes_2: &Node, |
| 987 | nodes_3: &Node, |
| 988 | nodes_4: &Node, |
| 989 | ) -> Result<(), JsValue>; |
| 990 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 991 | #[doc = "The `before()` method." ] |
| 992 | #[doc = "" ] |
| 993 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 994 | #[doc = "" ] |
| 995 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 996 | pub unsafefn before_with_node_5( |
| 997 | this: &Element, |
| 998 | nodes_1: &Node, |
| 999 | nodes_2: &Node, |
| 1000 | nodes_3: &Node, |
| 1001 | nodes_4: &Node, |
| 1002 | nodes_5: &Node, |
| 1003 | ) -> Result<(), JsValue>; |
| 1004 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 1005 | #[doc = "The `before()` method." ] |
| 1006 | #[doc = "" ] |
| 1007 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 1008 | #[doc = "" ] |
| 1009 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1010 | pub unsafefn before_with_node_6( |
| 1011 | this: &Element, |
| 1012 | nodes_1: &Node, |
| 1013 | nodes_2: &Node, |
| 1014 | nodes_3: &Node, |
| 1015 | nodes_4: &Node, |
| 1016 | nodes_5: &Node, |
| 1017 | nodes_6: &Node, |
| 1018 | ) -> Result<(), JsValue>; |
| 1019 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 1020 | #[doc = "The `before()` method." ] |
| 1021 | #[doc = "" ] |
| 1022 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 1023 | #[doc = "" ] |
| 1024 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1025 | pub unsafefn before_with_node_7( |
| 1026 | this: &Element, |
| 1027 | nodes_1: &Node, |
| 1028 | nodes_2: &Node, |
| 1029 | nodes_3: &Node, |
| 1030 | nodes_4: &Node, |
| 1031 | nodes_5: &Node, |
| 1032 | nodes_6: &Node, |
| 1033 | nodes_7: &Node, |
| 1034 | ) -> Result<(), JsValue>; |
| 1035 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = before)] |
| 1036 | #[doc = "The `before()` method." ] |
| 1037 | #[doc = "" ] |
| 1038 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 1039 | #[doc = "" ] |
| 1040 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1041 | pub unsafefn before_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>; |
| 1042 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 1043 | #[doc = "The `before()` method." ] |
| 1044 | #[doc = "" ] |
| 1045 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 1046 | #[doc = "" ] |
| 1047 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1048 | pub unsafefn before_with_str_0(this: &Element) -> Result<(), JsValue>; |
| 1049 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 1050 | #[doc = "The `before()` method." ] |
| 1051 | #[doc = "" ] |
| 1052 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 1053 | #[doc = "" ] |
| 1054 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1055 | pub unsafefn before_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>; |
| 1056 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 1057 | #[doc = "The `before()` method." ] |
| 1058 | #[doc = "" ] |
| 1059 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 1060 | #[doc = "" ] |
| 1061 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1062 | pub unsafefn before_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>; |
| 1063 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 1064 | #[doc = "The `before()` method." ] |
| 1065 | #[doc = "" ] |
| 1066 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 1067 | #[doc = "" ] |
| 1068 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1069 | pub unsafefn before_with_str_3( |
| 1070 | this: &Element, |
| 1071 | nodes_1: &str, |
| 1072 | nodes_2: &str, |
| 1073 | nodes_3: &str, |
| 1074 | ) -> Result<(), JsValue>; |
| 1075 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 1076 | #[doc = "The `before()` method." ] |
| 1077 | #[doc = "" ] |
| 1078 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 1079 | #[doc = "" ] |
| 1080 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1081 | pub unsafefn before_with_str_4( |
| 1082 | this: &Element, |
| 1083 | nodes_1: &str, |
| 1084 | nodes_2: &str, |
| 1085 | nodes_3: &str, |
| 1086 | nodes_4: &str, |
| 1087 | ) -> Result<(), JsValue>; |
| 1088 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 1089 | #[doc = "The `before()` method." ] |
| 1090 | #[doc = "" ] |
| 1091 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 1092 | #[doc = "" ] |
| 1093 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1094 | pub unsafefn before_with_str_5( |
| 1095 | this: &Element, |
| 1096 | nodes_1: &str, |
| 1097 | nodes_2: &str, |
| 1098 | nodes_3: &str, |
| 1099 | nodes_4: &str, |
| 1100 | nodes_5: &str, |
| 1101 | ) -> Result<(), JsValue>; |
| 1102 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 1103 | #[doc = "The `before()` method." ] |
| 1104 | #[doc = "" ] |
| 1105 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 1106 | #[doc = "" ] |
| 1107 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1108 | pub unsafefn before_with_str_6( |
| 1109 | this: &Element, |
| 1110 | nodes_1: &str, |
| 1111 | nodes_2: &str, |
| 1112 | nodes_3: &str, |
| 1113 | nodes_4: &str, |
| 1114 | nodes_5: &str, |
| 1115 | nodes_6: &str, |
| 1116 | ) -> Result<(), JsValue>; |
| 1117 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = before)] |
| 1118 | #[doc = "The `before()` method." ] |
| 1119 | #[doc = "" ] |
| 1120 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/before)" ] |
| 1121 | #[doc = "" ] |
| 1122 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1123 | pub unsafefn before_with_str_7( |
| 1124 | this: &Element, |
| 1125 | nodes_1: &str, |
| 1126 | nodes_2: &str, |
| 1127 | nodes_3: &str, |
| 1128 | nodes_4: &str, |
| 1129 | nodes_5: &str, |
| 1130 | nodes_6: &str, |
| 1131 | nodes_7: &str, |
| 1132 | ) -> Result<(), JsValue>; |
| 1133 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = remove)] |
| 1134 | #[doc = "The `remove()` method." ] |
| 1135 | #[doc = "" ] |
| 1136 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/remove)" ] |
| 1137 | #[doc = "" ] |
| 1138 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1139 | pub unsafefn remove(this: &Element); |
| 1140 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = replaceWith)] |
| 1141 | #[doc = "The `replaceWith()` method." ] |
| 1142 | #[doc = "" ] |
| 1143 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1144 | #[doc = "" ] |
| 1145 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1146 | pub unsafefn replace_with_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>; |
| 1147 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1148 | #[doc = "The `replaceWith()` method." ] |
| 1149 | #[doc = "" ] |
| 1150 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1151 | #[doc = "" ] |
| 1152 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1153 | pub unsafefn replace_with_with_node_0(this: &Element) -> Result<(), JsValue>; |
| 1154 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1155 | #[doc = "The `replaceWith()` method." ] |
| 1156 | #[doc = "" ] |
| 1157 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1158 | #[doc = "" ] |
| 1159 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1160 | pub unsafefn replace_with_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>; |
| 1161 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1162 | #[doc = "The `replaceWith()` method." ] |
| 1163 | #[doc = "" ] |
| 1164 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1165 | #[doc = "" ] |
| 1166 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1167 | pub unsafefn replace_with_with_node_2( |
| 1168 | this: &Element, |
| 1169 | nodes_1: &Node, |
| 1170 | nodes_2: &Node, |
| 1171 | ) -> Result<(), JsValue>; |
| 1172 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1173 | #[doc = "The `replaceWith()` method." ] |
| 1174 | #[doc = "" ] |
| 1175 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1176 | #[doc = "" ] |
| 1177 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1178 | pub unsafefn replace_with_with_node_3( |
| 1179 | this: &Element, |
| 1180 | nodes_1: &Node, |
| 1181 | nodes_2: &Node, |
| 1182 | nodes_3: &Node, |
| 1183 | ) -> Result<(), JsValue>; |
| 1184 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1185 | #[doc = "The `replaceWith()` method." ] |
| 1186 | #[doc = "" ] |
| 1187 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1188 | #[doc = "" ] |
| 1189 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1190 | pub unsafefn replace_with_with_node_4( |
| 1191 | this: &Element, |
| 1192 | nodes_1: &Node, |
| 1193 | nodes_2: &Node, |
| 1194 | nodes_3: &Node, |
| 1195 | nodes_4: &Node, |
| 1196 | ) -> Result<(), JsValue>; |
| 1197 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1198 | #[doc = "The `replaceWith()` method." ] |
| 1199 | #[doc = "" ] |
| 1200 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1201 | #[doc = "" ] |
| 1202 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1203 | pub unsafefn replace_with_with_node_5( |
| 1204 | this: &Element, |
| 1205 | nodes_1: &Node, |
| 1206 | nodes_2: &Node, |
| 1207 | nodes_3: &Node, |
| 1208 | nodes_4: &Node, |
| 1209 | nodes_5: &Node, |
| 1210 | ) -> Result<(), JsValue>; |
| 1211 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1212 | #[doc = "The `replaceWith()` method." ] |
| 1213 | #[doc = "" ] |
| 1214 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1215 | #[doc = "" ] |
| 1216 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1217 | pub unsafefn replace_with_with_node_6( |
| 1218 | this: &Element, |
| 1219 | nodes_1: &Node, |
| 1220 | nodes_2: &Node, |
| 1221 | nodes_3: &Node, |
| 1222 | nodes_4: &Node, |
| 1223 | nodes_5: &Node, |
| 1224 | nodes_6: &Node, |
| 1225 | ) -> Result<(), JsValue>; |
| 1226 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1227 | #[doc = "The `replaceWith()` method." ] |
| 1228 | #[doc = "" ] |
| 1229 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1230 | #[doc = "" ] |
| 1231 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1232 | pub unsafefn replace_with_with_node_7( |
| 1233 | this: &Element, |
| 1234 | nodes_1: &Node, |
| 1235 | nodes_2: &Node, |
| 1236 | nodes_3: &Node, |
| 1237 | nodes_4: &Node, |
| 1238 | nodes_5: &Node, |
| 1239 | nodes_6: &Node, |
| 1240 | nodes_7: &Node, |
| 1241 | ) -> Result<(), JsValue>; |
| 1242 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = replaceWith)] |
| 1243 | #[doc = "The `replaceWith()` method." ] |
| 1244 | #[doc = "" ] |
| 1245 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1246 | #[doc = "" ] |
| 1247 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1248 | pub unsafefn replace_with_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>; |
| 1249 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1250 | #[doc = "The `replaceWith()` method." ] |
| 1251 | #[doc = "" ] |
| 1252 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1253 | #[doc = "" ] |
| 1254 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1255 | pub unsafefn replace_with_with_str_0(this: &Element) -> Result<(), JsValue>; |
| 1256 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1257 | #[doc = "The `replaceWith()` method." ] |
| 1258 | #[doc = "" ] |
| 1259 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1260 | #[doc = "" ] |
| 1261 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1262 | pub unsafefn replace_with_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>; |
| 1263 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1264 | #[doc = "The `replaceWith()` method." ] |
| 1265 | #[doc = "" ] |
| 1266 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1267 | #[doc = "" ] |
| 1268 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1269 | pub unsafefn replace_with_with_str_2( |
| 1270 | this: &Element, |
| 1271 | nodes_1: &str, |
| 1272 | nodes_2: &str, |
| 1273 | ) -> Result<(), JsValue>; |
| 1274 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1275 | #[doc = "The `replaceWith()` method." ] |
| 1276 | #[doc = "" ] |
| 1277 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1278 | #[doc = "" ] |
| 1279 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1280 | pub unsafefn replace_with_with_str_3( |
| 1281 | this: &Element, |
| 1282 | nodes_1: &str, |
| 1283 | nodes_2: &str, |
| 1284 | nodes_3: &str, |
| 1285 | ) -> Result<(), JsValue>; |
| 1286 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1287 | #[doc = "The `replaceWith()` method." ] |
| 1288 | #[doc = "" ] |
| 1289 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1290 | #[doc = "" ] |
| 1291 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1292 | pub unsafefn replace_with_with_str_4( |
| 1293 | this: &Element, |
| 1294 | nodes_1: &str, |
| 1295 | nodes_2: &str, |
| 1296 | nodes_3: &str, |
| 1297 | nodes_4: &str, |
| 1298 | ) -> Result<(), JsValue>; |
| 1299 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1300 | #[doc = "The `replaceWith()` method." ] |
| 1301 | #[doc = "" ] |
| 1302 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1303 | #[doc = "" ] |
| 1304 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1305 | pub unsafefn replace_with_with_str_5( |
| 1306 | this: &Element, |
| 1307 | nodes_1: &str, |
| 1308 | nodes_2: &str, |
| 1309 | nodes_3: &str, |
| 1310 | nodes_4: &str, |
| 1311 | nodes_5: &str, |
| 1312 | ) -> Result<(), JsValue>; |
| 1313 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1314 | #[doc = "The `replaceWith()` method." ] |
| 1315 | #[doc = "" ] |
| 1316 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1317 | #[doc = "" ] |
| 1318 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1319 | pub unsafefn replace_with_with_str_6( |
| 1320 | this: &Element, |
| 1321 | nodes_1: &str, |
| 1322 | nodes_2: &str, |
| 1323 | nodes_3: &str, |
| 1324 | nodes_4: &str, |
| 1325 | nodes_5: &str, |
| 1326 | nodes_6: &str, |
| 1327 | ) -> Result<(), JsValue>; |
| 1328 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = replaceWith)] |
| 1329 | #[doc = "The `replaceWith()` method." ] |
| 1330 | #[doc = "" ] |
| 1331 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceWith)" ] |
| 1332 | #[doc = "" ] |
| 1333 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1334 | pub unsafefn replace_with_with_str_7( |
| 1335 | this: &Element, |
| 1336 | nodes_1: &str, |
| 1337 | nodes_2: &str, |
| 1338 | nodes_3: &str, |
| 1339 | nodes_4: &str, |
| 1340 | nodes_5: &str, |
| 1341 | nodes_6: &str, |
| 1342 | nodes_7: &str, |
| 1343 | ) -> Result<(), JsValue>; |
| 1344 | #[cfg (all(feature = "DomPoint" , feature = "DomPointInit" , feature = "Text" ,))] |
| 1345 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)] |
| 1346 | #[doc = "The `convertPointFromNode()` method." ] |
| 1347 | #[doc = "" ] |
| 1348 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)" ] |
| 1349 | #[doc = "" ] |
| 1350 | #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`, `Text`*" ] |
| 1351 | pub fn convert_point_from_node_with_text( |
| 1352 | this: &Element, |
| 1353 | point: &DomPointInit, |
| 1354 | from: &Text, |
| 1355 | ) -> Result<DomPoint, JsValue>; |
| 1356 | #[cfg (all(feature = "DomPoint" , feature = "DomPointInit" ,))] |
| 1357 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)] |
| 1358 | #[doc = "The `convertPointFromNode()` method." ] |
| 1359 | #[doc = "" ] |
| 1360 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)" ] |
| 1361 | #[doc = "" ] |
| 1362 | #[doc = "*This API requires the following crate features to be activated: `DomPoint`, `DomPointInit`, `Element`*" ] |
| 1363 | pub fn convert_point_from_node_with_element( |
| 1364 | this: &Element, |
| 1365 | point: &DomPointInit, |
| 1366 | from: &Element, |
| 1367 | ) -> Result<DomPoint, JsValue>; |
| 1368 | #[cfg (all(feature = "Document" , feature = "DomPoint" , feature = "DomPointInit" ,))] |
| 1369 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)] |
| 1370 | #[doc = "The `convertPointFromNode()` method." ] |
| 1371 | #[doc = "" ] |
| 1372 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)" ] |
| 1373 | #[doc = "" ] |
| 1374 | #[doc = "*This API requires the following crate features to be activated: `Document`, `DomPoint`, `DomPointInit`, `Element`*" ] |
| 1375 | pub fn convert_point_from_node_with_document( |
| 1376 | this: &Element, |
| 1377 | point: &DomPointInit, |
| 1378 | from: &Document, |
| 1379 | ) -> Result<DomPoint, JsValue>; |
| 1380 | #[cfg (all( |
| 1381 | feature = "ConvertCoordinateOptions" , |
| 1382 | feature = "DomPoint" , |
| 1383 | feature = "DomPointInit" , |
| 1384 | feature = "Text" , |
| 1385 | ))] |
| 1386 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)] |
| 1387 | #[doc = "The `convertPointFromNode()` method." ] |
| 1388 | #[doc = "" ] |
| 1389 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)" ] |
| 1390 | #[doc = "" ] |
| 1391 | #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`, `Text`*" ] |
| 1392 | pub fn convert_point_from_node_with_text_and_options( |
| 1393 | this: &Element, |
| 1394 | point: &DomPointInit, |
| 1395 | from: &Text, |
| 1396 | options: &ConvertCoordinateOptions, |
| 1397 | ) -> Result<DomPoint, JsValue>; |
| 1398 | #[cfg (all( |
| 1399 | feature = "ConvertCoordinateOptions" , |
| 1400 | feature = "DomPoint" , |
| 1401 | feature = "DomPointInit" , |
| 1402 | ))] |
| 1403 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)] |
| 1404 | #[doc = "The `convertPointFromNode()` method." ] |
| 1405 | #[doc = "" ] |
| 1406 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)" ] |
| 1407 | #[doc = "" ] |
| 1408 | #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomPoint`, `DomPointInit`, `Element`*" ] |
| 1409 | pub fn convert_point_from_node_with_element_and_options( |
| 1410 | this: &Element, |
| 1411 | point: &DomPointInit, |
| 1412 | from: &Element, |
| 1413 | options: &ConvertCoordinateOptions, |
| 1414 | ) -> Result<DomPoint, JsValue>; |
| 1415 | #[cfg (all( |
| 1416 | feature = "ConvertCoordinateOptions" , |
| 1417 | feature = "Document" , |
| 1418 | feature = "DomPoint" , |
| 1419 | feature = "DomPointInit" , |
| 1420 | ))] |
| 1421 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertPointFromNode)] |
| 1422 | #[doc = "The `convertPointFromNode()` method." ] |
| 1423 | #[doc = "" ] |
| 1424 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertPointFromNode)" ] |
| 1425 | #[doc = "" ] |
| 1426 | #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomPoint`, `DomPointInit`, `Element`*" ] |
| 1427 | pub fn convert_point_from_node_with_document_and_options( |
| 1428 | this: &Element, |
| 1429 | point: &DomPointInit, |
| 1430 | from: &Document, |
| 1431 | options: &ConvertCoordinateOptions, |
| 1432 | ) -> Result<DomPoint, JsValue>; |
| 1433 | #[cfg (all(feature = "DomQuad" , feature = "Text" ,))] |
| 1434 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)] |
| 1435 | #[doc = "The `convertQuadFromNode()` method." ] |
| 1436 | #[doc = "" ] |
| 1437 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)" ] |
| 1438 | #[doc = "" ] |
| 1439 | #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `Element`, `Text`*" ] |
| 1440 | pub fn convert_quad_from_node_with_text( |
| 1441 | this: &Element, |
| 1442 | quad: &DomQuad, |
| 1443 | from: &Text, |
| 1444 | ) -> Result<DomQuad, JsValue>; |
| 1445 | #[cfg (feature = "DomQuad" )] |
| 1446 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)] |
| 1447 | #[doc = "The `convertQuadFromNode()` method." ] |
| 1448 | #[doc = "" ] |
| 1449 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)" ] |
| 1450 | #[doc = "" ] |
| 1451 | #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `Element`*" ] |
| 1452 | pub fn convert_quad_from_node_with_element( |
| 1453 | this: &Element, |
| 1454 | quad: &DomQuad, |
| 1455 | from: &Element, |
| 1456 | ) -> Result<DomQuad, JsValue>; |
| 1457 | #[cfg (all(feature = "Document" , feature = "DomQuad" ,))] |
| 1458 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)] |
| 1459 | #[doc = "The `convertQuadFromNode()` method." ] |
| 1460 | #[doc = "" ] |
| 1461 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)" ] |
| 1462 | #[doc = "" ] |
| 1463 | #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `Element`*" ] |
| 1464 | pub fn convert_quad_from_node_with_document( |
| 1465 | this: &Element, |
| 1466 | quad: &DomQuad, |
| 1467 | from: &Document, |
| 1468 | ) -> Result<DomQuad, JsValue>; |
| 1469 | #[cfg (all( |
| 1470 | feature = "ConvertCoordinateOptions" , |
| 1471 | feature = "DomQuad" , |
| 1472 | feature = "Text" , |
| 1473 | ))] |
| 1474 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)] |
| 1475 | #[doc = "The `convertQuadFromNode()` method." ] |
| 1476 | #[doc = "" ] |
| 1477 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)" ] |
| 1478 | #[doc = "" ] |
| 1479 | #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`, `Text`*" ] |
| 1480 | pub fn convert_quad_from_node_with_text_and_options( |
| 1481 | this: &Element, |
| 1482 | quad: &DomQuad, |
| 1483 | from: &Text, |
| 1484 | options: &ConvertCoordinateOptions, |
| 1485 | ) -> Result<DomQuad, JsValue>; |
| 1486 | #[cfg (all(feature = "ConvertCoordinateOptions" , feature = "DomQuad" ,))] |
| 1487 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)] |
| 1488 | #[doc = "The `convertQuadFromNode()` method." ] |
| 1489 | #[doc = "" ] |
| 1490 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)" ] |
| 1491 | #[doc = "" ] |
| 1492 | #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `Element`*" ] |
| 1493 | pub fn convert_quad_from_node_with_element_and_options( |
| 1494 | this: &Element, |
| 1495 | quad: &DomQuad, |
| 1496 | from: &Element, |
| 1497 | options: &ConvertCoordinateOptions, |
| 1498 | ) -> Result<DomQuad, JsValue>; |
| 1499 | #[cfg (all( |
| 1500 | feature = "ConvertCoordinateOptions" , |
| 1501 | feature = "Document" , |
| 1502 | feature = "DomQuad" , |
| 1503 | ))] |
| 1504 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertQuadFromNode)] |
| 1505 | #[doc = "The `convertQuadFromNode()` method." ] |
| 1506 | #[doc = "" ] |
| 1507 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertQuadFromNode)" ] |
| 1508 | #[doc = "" ] |
| 1509 | #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `Element`*" ] |
| 1510 | pub fn convert_quad_from_node_with_document_and_options( |
| 1511 | this: &Element, |
| 1512 | quad: &DomQuad, |
| 1513 | from: &Document, |
| 1514 | options: &ConvertCoordinateOptions, |
| 1515 | ) -> Result<DomQuad, JsValue>; |
| 1516 | #[cfg (all(feature = "DomQuad" , feature = "DomRectReadOnly" , feature = "Text" ,))] |
| 1517 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)] |
| 1518 | #[doc = "The `convertRectFromNode()` method." ] |
| 1519 | #[doc = "" ] |
| 1520 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)" ] |
| 1521 | #[doc = "" ] |
| 1522 | #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*" ] |
| 1523 | pub fn convert_rect_from_node_with_text( |
| 1524 | this: &Element, |
| 1525 | rect: &DomRectReadOnly, |
| 1526 | from: &Text, |
| 1527 | ) -> Result<DomQuad, JsValue>; |
| 1528 | #[cfg (all(feature = "DomQuad" , feature = "DomRectReadOnly" ,))] |
| 1529 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)] |
| 1530 | #[doc = "The `convertRectFromNode()` method." ] |
| 1531 | #[doc = "" ] |
| 1532 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)" ] |
| 1533 | #[doc = "" ] |
| 1534 | #[doc = "*This API requires the following crate features to be activated: `DomQuad`, `DomRectReadOnly`, `Element`*" ] |
| 1535 | pub fn convert_rect_from_node_with_element( |
| 1536 | this: &Element, |
| 1537 | rect: &DomRectReadOnly, |
| 1538 | from: &Element, |
| 1539 | ) -> Result<DomQuad, JsValue>; |
| 1540 | #[cfg (all(feature = "Document" , feature = "DomQuad" , feature = "DomRectReadOnly" ,))] |
| 1541 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)] |
| 1542 | #[doc = "The `convertRectFromNode()` method." ] |
| 1543 | #[doc = "" ] |
| 1544 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)" ] |
| 1545 | #[doc = "" ] |
| 1546 | #[doc = "*This API requires the following crate features to be activated: `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] |
| 1547 | pub fn convert_rect_from_node_with_document( |
| 1548 | this: &Element, |
| 1549 | rect: &DomRectReadOnly, |
| 1550 | from: &Document, |
| 1551 | ) -> Result<DomQuad, JsValue>; |
| 1552 | #[cfg (all( |
| 1553 | feature = "ConvertCoordinateOptions" , |
| 1554 | feature = "DomQuad" , |
| 1555 | feature = "DomRectReadOnly" , |
| 1556 | feature = "Text" , |
| 1557 | ))] |
| 1558 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)] |
| 1559 | #[doc = "The `convertRectFromNode()` method." ] |
| 1560 | #[doc = "" ] |
| 1561 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)" ] |
| 1562 | #[doc = "" ] |
| 1563 | #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`, `Text`*" ] |
| 1564 | pub fn convert_rect_from_node_with_text_and_options( |
| 1565 | this: &Element, |
| 1566 | rect: &DomRectReadOnly, |
| 1567 | from: &Text, |
| 1568 | options: &ConvertCoordinateOptions, |
| 1569 | ) -> Result<DomQuad, JsValue>; |
| 1570 | #[cfg (all( |
| 1571 | feature = "ConvertCoordinateOptions" , |
| 1572 | feature = "DomQuad" , |
| 1573 | feature = "DomRectReadOnly" , |
| 1574 | ))] |
| 1575 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)] |
| 1576 | #[doc = "The `convertRectFromNode()` method." ] |
| 1577 | #[doc = "" ] |
| 1578 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)" ] |
| 1579 | #[doc = "" ] |
| 1580 | #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] |
| 1581 | pub fn convert_rect_from_node_with_element_and_options( |
| 1582 | this: &Element, |
| 1583 | rect: &DomRectReadOnly, |
| 1584 | from: &Element, |
| 1585 | options: &ConvertCoordinateOptions, |
| 1586 | ) -> Result<DomQuad, JsValue>; |
| 1587 | #[cfg (all( |
| 1588 | feature = "ConvertCoordinateOptions" , |
| 1589 | feature = "Document" , |
| 1590 | feature = "DomQuad" , |
| 1591 | feature = "DomRectReadOnly" , |
| 1592 | ))] |
| 1593 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = convertRectFromNode)] |
| 1594 | #[doc = "The `convertRectFromNode()` method." ] |
| 1595 | #[doc = "" ] |
| 1596 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/convertRectFromNode)" ] |
| 1597 | #[doc = "" ] |
| 1598 | #[doc = "*This API requires the following crate features to be activated: `ConvertCoordinateOptions`, `Document`, `DomQuad`, `DomRectReadOnly`, `Element`*" ] |
| 1599 | pub fn convert_rect_from_node_with_document_and_options( |
| 1600 | this: &Element, |
| 1601 | rect: &DomRectReadOnly, |
| 1602 | from: &Document, |
| 1603 | options: &ConvertCoordinateOptions, |
| 1604 | ) -> Result<DomQuad, JsValue>; |
| 1605 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = getBoxQuads)] |
| 1606 | #[doc = "The `getBoxQuads()` method." ] |
| 1607 | #[doc = "" ] |
| 1608 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoxQuads)" ] |
| 1609 | #[doc = "" ] |
| 1610 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1611 | pub unsafefn get_box_quads(this: &Element) -> Result<::js_sys::Array, JsValue>; |
| 1612 | #[cfg (feature = "BoxQuadOptions" )] |
| 1613 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = getBoxQuads)] |
| 1614 | #[doc = "The `getBoxQuads()` method." ] |
| 1615 | #[doc = "" ] |
| 1616 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoxQuads)" ] |
| 1617 | #[doc = "" ] |
| 1618 | #[doc = "*This API requires the following crate features to be activated: `BoxQuadOptions`, `Element`*" ] |
| 1619 | pub fn get_box_quads_with_options( |
| 1620 | this: &Element, |
| 1621 | options: &BoxQuadOptions, |
| 1622 | ) -> Result<::js_sys::Array, JsValue>; |
| 1623 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = append)] |
| 1624 | #[doc = "The `append()` method." ] |
| 1625 | #[doc = "" ] |
| 1626 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1627 | #[doc = "" ] |
| 1628 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1629 | pub unsafefn append_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>; |
| 1630 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1631 | #[doc = "The `append()` method." ] |
| 1632 | #[doc = "" ] |
| 1633 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1634 | #[doc = "" ] |
| 1635 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1636 | pub unsafefn append_with_node_0(this: &Element) -> Result<(), JsValue>; |
| 1637 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1638 | #[doc = "The `append()` method." ] |
| 1639 | #[doc = "" ] |
| 1640 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1641 | #[doc = "" ] |
| 1642 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1643 | pub unsafefn append_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>; |
| 1644 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1645 | #[doc = "The `append()` method." ] |
| 1646 | #[doc = "" ] |
| 1647 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1648 | #[doc = "" ] |
| 1649 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1650 | pub unsafefn append_with_node_2( |
| 1651 | this: &Element, |
| 1652 | nodes_1: &Node, |
| 1653 | nodes_2: &Node, |
| 1654 | ) -> Result<(), JsValue>; |
| 1655 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1656 | #[doc = "The `append()` method." ] |
| 1657 | #[doc = "" ] |
| 1658 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1659 | #[doc = "" ] |
| 1660 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1661 | pub unsafefn append_with_node_3( |
| 1662 | this: &Element, |
| 1663 | nodes_1: &Node, |
| 1664 | nodes_2: &Node, |
| 1665 | nodes_3: &Node, |
| 1666 | ) -> Result<(), JsValue>; |
| 1667 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1668 | #[doc = "The `append()` method." ] |
| 1669 | #[doc = "" ] |
| 1670 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1671 | #[doc = "" ] |
| 1672 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1673 | pub unsafefn append_with_node_4( |
| 1674 | this: &Element, |
| 1675 | nodes_1: &Node, |
| 1676 | nodes_2: &Node, |
| 1677 | nodes_3: &Node, |
| 1678 | nodes_4: &Node, |
| 1679 | ) -> Result<(), JsValue>; |
| 1680 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1681 | #[doc = "The `append()` method." ] |
| 1682 | #[doc = "" ] |
| 1683 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1684 | #[doc = "" ] |
| 1685 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1686 | pub unsafefn append_with_node_5( |
| 1687 | this: &Element, |
| 1688 | nodes_1: &Node, |
| 1689 | nodes_2: &Node, |
| 1690 | nodes_3: &Node, |
| 1691 | nodes_4: &Node, |
| 1692 | nodes_5: &Node, |
| 1693 | ) -> Result<(), JsValue>; |
| 1694 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1695 | #[doc = "The `append()` method." ] |
| 1696 | #[doc = "" ] |
| 1697 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1698 | #[doc = "" ] |
| 1699 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1700 | pub unsafefn append_with_node_6( |
| 1701 | this: &Element, |
| 1702 | nodes_1: &Node, |
| 1703 | nodes_2: &Node, |
| 1704 | nodes_3: &Node, |
| 1705 | nodes_4: &Node, |
| 1706 | nodes_5: &Node, |
| 1707 | nodes_6: &Node, |
| 1708 | ) -> Result<(), JsValue>; |
| 1709 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1710 | #[doc = "The `append()` method." ] |
| 1711 | #[doc = "" ] |
| 1712 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1713 | #[doc = "" ] |
| 1714 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1715 | pub unsafefn append_with_node_7( |
| 1716 | this: &Element, |
| 1717 | nodes_1: &Node, |
| 1718 | nodes_2: &Node, |
| 1719 | nodes_3: &Node, |
| 1720 | nodes_4: &Node, |
| 1721 | nodes_5: &Node, |
| 1722 | nodes_6: &Node, |
| 1723 | nodes_7: &Node, |
| 1724 | ) -> Result<(), JsValue>; |
| 1725 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = append)] |
| 1726 | #[doc = "The `append()` method." ] |
| 1727 | #[doc = "" ] |
| 1728 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1729 | #[doc = "" ] |
| 1730 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1731 | pub unsafefn append_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>; |
| 1732 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1733 | #[doc = "The `append()` method." ] |
| 1734 | #[doc = "" ] |
| 1735 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1736 | #[doc = "" ] |
| 1737 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1738 | pub unsafefn append_with_str_0(this: &Element) -> Result<(), JsValue>; |
| 1739 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1740 | #[doc = "The `append()` method." ] |
| 1741 | #[doc = "" ] |
| 1742 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1743 | #[doc = "" ] |
| 1744 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1745 | pub unsafefn append_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>; |
| 1746 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1747 | #[doc = "The `append()` method." ] |
| 1748 | #[doc = "" ] |
| 1749 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1750 | #[doc = "" ] |
| 1751 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1752 | pub unsafefn append_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>; |
| 1753 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1754 | #[doc = "The `append()` method." ] |
| 1755 | #[doc = "" ] |
| 1756 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1757 | #[doc = "" ] |
| 1758 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1759 | pub unsafefn append_with_str_3( |
| 1760 | this: &Element, |
| 1761 | nodes_1: &str, |
| 1762 | nodes_2: &str, |
| 1763 | nodes_3: &str, |
| 1764 | ) -> Result<(), JsValue>; |
| 1765 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1766 | #[doc = "The `append()` method." ] |
| 1767 | #[doc = "" ] |
| 1768 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1769 | #[doc = "" ] |
| 1770 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1771 | pub unsafefn append_with_str_4( |
| 1772 | this: &Element, |
| 1773 | nodes_1: &str, |
| 1774 | nodes_2: &str, |
| 1775 | nodes_3: &str, |
| 1776 | nodes_4: &str, |
| 1777 | ) -> Result<(), JsValue>; |
| 1778 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1779 | #[doc = "The `append()` method." ] |
| 1780 | #[doc = "" ] |
| 1781 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1782 | #[doc = "" ] |
| 1783 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1784 | pub unsafefn append_with_str_5( |
| 1785 | this: &Element, |
| 1786 | nodes_1: &str, |
| 1787 | nodes_2: &str, |
| 1788 | nodes_3: &str, |
| 1789 | nodes_4: &str, |
| 1790 | nodes_5: &str, |
| 1791 | ) -> Result<(), JsValue>; |
| 1792 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1793 | #[doc = "The `append()` method." ] |
| 1794 | #[doc = "" ] |
| 1795 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1796 | #[doc = "" ] |
| 1797 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1798 | pub unsafefn append_with_str_6( |
| 1799 | this: &Element, |
| 1800 | nodes_1: &str, |
| 1801 | nodes_2: &str, |
| 1802 | nodes_3: &str, |
| 1803 | nodes_4: &str, |
| 1804 | nodes_5: &str, |
| 1805 | nodes_6: &str, |
| 1806 | ) -> Result<(), JsValue>; |
| 1807 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = append)] |
| 1808 | #[doc = "The `append()` method." ] |
| 1809 | #[doc = "" ] |
| 1810 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/append)" ] |
| 1811 | #[doc = "" ] |
| 1812 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1813 | pub unsafefn append_with_str_7( |
| 1814 | this: &Element, |
| 1815 | nodes_1: &str, |
| 1816 | nodes_2: &str, |
| 1817 | nodes_3: &str, |
| 1818 | nodes_4: &str, |
| 1819 | nodes_5: &str, |
| 1820 | nodes_6: &str, |
| 1821 | nodes_7: &str, |
| 1822 | ) -> Result<(), JsValue>; |
| 1823 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = prepend)] |
| 1824 | #[doc = "The `prepend()` method." ] |
| 1825 | #[doc = "" ] |
| 1826 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1827 | #[doc = "" ] |
| 1828 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1829 | pub unsafefn prepend_with_node(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>; |
| 1830 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1831 | #[doc = "The `prepend()` method." ] |
| 1832 | #[doc = "" ] |
| 1833 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1834 | #[doc = "" ] |
| 1835 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1836 | pub unsafefn prepend_with_node_0(this: &Element) -> Result<(), JsValue>; |
| 1837 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1838 | #[doc = "The `prepend()` method." ] |
| 1839 | #[doc = "" ] |
| 1840 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1841 | #[doc = "" ] |
| 1842 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1843 | pub unsafefn prepend_with_node_1(this: &Element, nodes_1: &Node) -> Result<(), JsValue>; |
| 1844 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1845 | #[doc = "The `prepend()` method." ] |
| 1846 | #[doc = "" ] |
| 1847 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1848 | #[doc = "" ] |
| 1849 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1850 | pub unsafefn prepend_with_node_2( |
| 1851 | this: &Element, |
| 1852 | nodes_1: &Node, |
| 1853 | nodes_2: &Node, |
| 1854 | ) -> Result<(), JsValue>; |
| 1855 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1856 | #[doc = "The `prepend()` method." ] |
| 1857 | #[doc = "" ] |
| 1858 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1859 | #[doc = "" ] |
| 1860 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1861 | pub unsafefn prepend_with_node_3( |
| 1862 | this: &Element, |
| 1863 | nodes_1: &Node, |
| 1864 | nodes_2: &Node, |
| 1865 | nodes_3: &Node, |
| 1866 | ) -> Result<(), JsValue>; |
| 1867 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1868 | #[doc = "The `prepend()` method." ] |
| 1869 | #[doc = "" ] |
| 1870 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1871 | #[doc = "" ] |
| 1872 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1873 | pub unsafefn prepend_with_node_4( |
| 1874 | this: &Element, |
| 1875 | nodes_1: &Node, |
| 1876 | nodes_2: &Node, |
| 1877 | nodes_3: &Node, |
| 1878 | nodes_4: &Node, |
| 1879 | ) -> Result<(), JsValue>; |
| 1880 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1881 | #[doc = "The `prepend()` method." ] |
| 1882 | #[doc = "" ] |
| 1883 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1884 | #[doc = "" ] |
| 1885 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1886 | pub unsafefn prepend_with_node_5( |
| 1887 | this: &Element, |
| 1888 | nodes_1: &Node, |
| 1889 | nodes_2: &Node, |
| 1890 | nodes_3: &Node, |
| 1891 | nodes_4: &Node, |
| 1892 | nodes_5: &Node, |
| 1893 | ) -> Result<(), JsValue>; |
| 1894 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1895 | #[doc = "The `prepend()` method." ] |
| 1896 | #[doc = "" ] |
| 1897 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1898 | #[doc = "" ] |
| 1899 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1900 | pub unsafefn prepend_with_node_6( |
| 1901 | this: &Element, |
| 1902 | nodes_1: &Node, |
| 1903 | nodes_2: &Node, |
| 1904 | nodes_3: &Node, |
| 1905 | nodes_4: &Node, |
| 1906 | nodes_5: &Node, |
| 1907 | nodes_6: &Node, |
| 1908 | ) -> Result<(), JsValue>; |
| 1909 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1910 | #[doc = "The `prepend()` method." ] |
| 1911 | #[doc = "" ] |
| 1912 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1913 | #[doc = "" ] |
| 1914 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1915 | pub unsafefn prepend_with_node_7( |
| 1916 | this: &Element, |
| 1917 | nodes_1: &Node, |
| 1918 | nodes_2: &Node, |
| 1919 | nodes_3: &Node, |
| 1920 | nodes_4: &Node, |
| 1921 | nodes_5: &Node, |
| 1922 | nodes_6: &Node, |
| 1923 | nodes_7: &Node, |
| 1924 | ) -> Result<(), JsValue>; |
| 1925 | # [wasm_bindgen (catch , method , structural , variadic , js_class = "Element" , js_name = prepend)] |
| 1926 | #[doc = "The `prepend()` method." ] |
| 1927 | #[doc = "" ] |
| 1928 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1929 | #[doc = "" ] |
| 1930 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1931 | pub unsafefn prepend_with_str(this: &Element, nodes: &::js_sys::Array) -> Result<(), JsValue>; |
| 1932 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1933 | #[doc = "The `prepend()` method." ] |
| 1934 | #[doc = "" ] |
| 1935 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1936 | #[doc = "" ] |
| 1937 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1938 | pub unsafefn prepend_with_str_0(this: &Element) -> Result<(), JsValue>; |
| 1939 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1940 | #[doc = "The `prepend()` method." ] |
| 1941 | #[doc = "" ] |
| 1942 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1943 | #[doc = "" ] |
| 1944 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1945 | pub unsafefn prepend_with_str_1(this: &Element, nodes_1: &str) -> Result<(), JsValue>; |
| 1946 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1947 | #[doc = "The `prepend()` method." ] |
| 1948 | #[doc = "" ] |
| 1949 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1950 | #[doc = "" ] |
| 1951 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1952 | pub unsafefn prepend_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str) -> Result<(), JsValue>; |
| 1953 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1954 | #[doc = "The `prepend()` method." ] |
| 1955 | #[doc = "" ] |
| 1956 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1957 | #[doc = "" ] |
| 1958 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1959 | pub unsafefn prepend_with_str_3( |
| 1960 | this: &Element, |
| 1961 | nodes_1: &str, |
| 1962 | nodes_2: &str, |
| 1963 | nodes_3: &str, |
| 1964 | ) -> Result<(), JsValue>; |
| 1965 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1966 | #[doc = "The `prepend()` method." ] |
| 1967 | #[doc = "" ] |
| 1968 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1969 | #[doc = "" ] |
| 1970 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1971 | pub unsafefn prepend_with_str_4( |
| 1972 | this: &Element, |
| 1973 | nodes_1: &str, |
| 1974 | nodes_2: &str, |
| 1975 | nodes_3: &str, |
| 1976 | nodes_4: &str, |
| 1977 | ) -> Result<(), JsValue>; |
| 1978 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1979 | #[doc = "The `prepend()` method." ] |
| 1980 | #[doc = "" ] |
| 1981 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1982 | #[doc = "" ] |
| 1983 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1984 | pub unsafefn prepend_with_str_5( |
| 1985 | this: &Element, |
| 1986 | nodes_1: &str, |
| 1987 | nodes_2: &str, |
| 1988 | nodes_3: &str, |
| 1989 | nodes_4: &str, |
| 1990 | nodes_5: &str, |
| 1991 | ) -> Result<(), JsValue>; |
| 1992 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 1993 | #[doc = "The `prepend()` method." ] |
| 1994 | #[doc = "" ] |
| 1995 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 1996 | #[doc = "" ] |
| 1997 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 1998 | pub unsafefn prepend_with_str_6( |
| 1999 | this: &Element, |
| 2000 | nodes_1: &str, |
| 2001 | nodes_2: &str, |
| 2002 | nodes_3: &str, |
| 2003 | nodes_4: &str, |
| 2004 | nodes_5: &str, |
| 2005 | nodes_6: &str, |
| 2006 | ) -> Result<(), JsValue>; |
| 2007 | # [wasm_bindgen (catch , method , structural , js_class = "Element" , js_name = prepend)] |
| 2008 | #[doc = "The `prepend()` method." ] |
| 2009 | #[doc = "" ] |
| 2010 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/prepend)" ] |
| 2011 | #[doc = "" ] |
| 2012 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2013 | pub unsafefn prepend_with_str_7( |
| 2014 | this: &Element, |
| 2015 | nodes_1: &str, |
| 2016 | nodes_2: &str, |
| 2017 | nodes_3: &str, |
| 2018 | nodes_4: &str, |
| 2019 | nodes_5: &str, |
| 2020 | nodes_6: &str, |
| 2021 | nodes_7: &str, |
| 2022 | ) -> Result<(), JsValue>; |
| 2023 | # [wasm_bindgen (method , structural , variadic , js_class = "Element" , js_name = replaceChildren)] |
| 2024 | #[doc = "The `replaceChildren()` method." ] |
| 2025 | #[doc = "" ] |
| 2026 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2027 | #[doc = "" ] |
| 2028 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2029 | pub unsafefn replace_children_with_node(this: &Element, nodes: &::js_sys::Array); |
| 2030 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2031 | #[doc = "The `replaceChildren()` method." ] |
| 2032 | #[doc = "" ] |
| 2033 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2034 | #[doc = "" ] |
| 2035 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2036 | pub unsafefn replace_children_with_node_0(this: &Element); |
| 2037 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2038 | #[doc = "The `replaceChildren()` method." ] |
| 2039 | #[doc = "" ] |
| 2040 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2041 | #[doc = "" ] |
| 2042 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2043 | pub unsafefn replace_children_with_node_1(this: &Element, nodes_1: &Node); |
| 2044 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2045 | #[doc = "The `replaceChildren()` method." ] |
| 2046 | #[doc = "" ] |
| 2047 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2048 | #[doc = "" ] |
| 2049 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2050 | pub unsafefn replace_children_with_node_2(this: &Element, nodes_1: &Node, nodes_2: &Node); |
| 2051 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2052 | #[doc = "The `replaceChildren()` method." ] |
| 2053 | #[doc = "" ] |
| 2054 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2055 | #[doc = "" ] |
| 2056 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2057 | pub unsafefn replace_children_with_node_3( |
| 2058 | this: &Element, |
| 2059 | nodes_1: &Node, |
| 2060 | nodes_2: &Node, |
| 2061 | nodes_3: &Node, |
| 2062 | ); |
| 2063 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2064 | #[doc = "The `replaceChildren()` method." ] |
| 2065 | #[doc = "" ] |
| 2066 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2067 | #[doc = "" ] |
| 2068 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2069 | pub unsafefn replace_children_with_node_4( |
| 2070 | this: &Element, |
| 2071 | nodes_1: &Node, |
| 2072 | nodes_2: &Node, |
| 2073 | nodes_3: &Node, |
| 2074 | nodes_4: &Node, |
| 2075 | ); |
| 2076 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2077 | #[doc = "The `replaceChildren()` method." ] |
| 2078 | #[doc = "" ] |
| 2079 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2080 | #[doc = "" ] |
| 2081 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2082 | pub unsafefn replace_children_with_node_5( |
| 2083 | this: &Element, |
| 2084 | nodes_1: &Node, |
| 2085 | nodes_2: &Node, |
| 2086 | nodes_3: &Node, |
| 2087 | nodes_4: &Node, |
| 2088 | nodes_5: &Node, |
| 2089 | ); |
| 2090 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2091 | #[doc = "The `replaceChildren()` method." ] |
| 2092 | #[doc = "" ] |
| 2093 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2094 | #[doc = "" ] |
| 2095 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2096 | pub unsafefn replace_children_with_node_6( |
| 2097 | this: &Element, |
| 2098 | nodes_1: &Node, |
| 2099 | nodes_2: &Node, |
| 2100 | nodes_3: &Node, |
| 2101 | nodes_4: &Node, |
| 2102 | nodes_5: &Node, |
| 2103 | nodes_6: &Node, |
| 2104 | ); |
| 2105 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2106 | #[doc = "The `replaceChildren()` method." ] |
| 2107 | #[doc = "" ] |
| 2108 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2109 | #[doc = "" ] |
| 2110 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2111 | pub unsafefn replace_children_with_node_7( |
| 2112 | this: &Element, |
| 2113 | nodes_1: &Node, |
| 2114 | nodes_2: &Node, |
| 2115 | nodes_3: &Node, |
| 2116 | nodes_4: &Node, |
| 2117 | nodes_5: &Node, |
| 2118 | nodes_6: &Node, |
| 2119 | nodes_7: &Node, |
| 2120 | ); |
| 2121 | # [wasm_bindgen (method , structural , variadic , js_class = "Element" , js_name = replaceChildren)] |
| 2122 | #[doc = "The `replaceChildren()` method." ] |
| 2123 | #[doc = "" ] |
| 2124 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2125 | #[doc = "" ] |
| 2126 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2127 | pub unsafefn replace_children_with_str(this: &Element, nodes: &::js_sys::Array); |
| 2128 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2129 | #[doc = "The `replaceChildren()` method." ] |
| 2130 | #[doc = "" ] |
| 2131 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2132 | #[doc = "" ] |
| 2133 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2134 | pub unsafefn replace_children_with_str_0(this: &Element); |
| 2135 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2136 | #[doc = "The `replaceChildren()` method." ] |
| 2137 | #[doc = "" ] |
| 2138 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2139 | #[doc = "" ] |
| 2140 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2141 | pub unsafefn replace_children_with_str_1(this: &Element, nodes_1: &str); |
| 2142 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2143 | #[doc = "The `replaceChildren()` method." ] |
| 2144 | #[doc = "" ] |
| 2145 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2146 | #[doc = "" ] |
| 2147 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2148 | pub unsafefn replace_children_with_str_2(this: &Element, nodes_1: &str, nodes_2: &str); |
| 2149 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2150 | #[doc = "The `replaceChildren()` method." ] |
| 2151 | #[doc = "" ] |
| 2152 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2153 | #[doc = "" ] |
| 2154 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2155 | pub unsafefn replace_children_with_str_3(this: &Element, nodes_1: &str, nodes_2: &str, nodes_3: &str); |
| 2156 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2157 | #[doc = "The `replaceChildren()` method." ] |
| 2158 | #[doc = "" ] |
| 2159 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2160 | #[doc = "" ] |
| 2161 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2162 | pub unsafefn replace_children_with_str_4( |
| 2163 | this: &Element, |
| 2164 | nodes_1: &str, |
| 2165 | nodes_2: &str, |
| 2166 | nodes_3: &str, |
| 2167 | nodes_4: &str, |
| 2168 | ); |
| 2169 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2170 | #[doc = "The `replaceChildren()` method." ] |
| 2171 | #[doc = "" ] |
| 2172 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2173 | #[doc = "" ] |
| 2174 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2175 | pub unsafefn replace_children_with_str_5( |
| 2176 | this: &Element, |
| 2177 | nodes_1: &str, |
| 2178 | nodes_2: &str, |
| 2179 | nodes_3: &str, |
| 2180 | nodes_4: &str, |
| 2181 | nodes_5: &str, |
| 2182 | ); |
| 2183 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2184 | #[doc = "The `replaceChildren()` method." ] |
| 2185 | #[doc = "" ] |
| 2186 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2187 | #[doc = "" ] |
| 2188 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2189 | pub unsafefn replace_children_with_str_6( |
| 2190 | this: &Element, |
| 2191 | nodes_1: &str, |
| 2192 | nodes_2: &str, |
| 2193 | nodes_3: &str, |
| 2194 | nodes_4: &str, |
| 2195 | nodes_5: &str, |
| 2196 | nodes_6: &str, |
| 2197 | ); |
| 2198 | # [wasm_bindgen (method , structural , js_class = "Element" , js_name = replaceChildren)] |
| 2199 | #[doc = "The `replaceChildren()` method." ] |
| 2200 | #[doc = "" ] |
| 2201 | #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren)" ] |
| 2202 | #[doc = "" ] |
| 2203 | #[doc = "*This API requires the following crate features to be activated: `Element`*" ] |
| 2204 | pub unsafefn replace_children_with_str_7( |
| 2205 | this: &Element, |
| 2206 | nodes_1: &str, |
| 2207 | nodes_2: &str, |
| 2208 | nodes_3: &str, |
| 2209 | nodes_4: &str, |
| 2210 | nodes_5: &str, |
| 2211 | nodes_6: &str, |
| 2212 | nodes_7: &str, |
| 2213 | ); |
| 2214 | } |
| 2215 | |