summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_Document.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/web-sys/src/features/gen_Document.rs')
-rw-r--r--vendor/web-sys/src/features/gen_Document.rs197
1 files changed, 197 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_Document.rs b/vendor/web-sys/src/features/gen_Document.rs
index 6d8cd542c..d2ad9eb37 100644
--- a/vendor/web-sys/src/features/gen_Document.rs
+++ b/vendor/web-sys/src/features/gen_Document.rs
@@ -1,4 +1,5 @@
#![allow(unused_imports)]
+#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
@@ -2849,6 +2850,202 @@ extern "C" {
nodes_6: &str,
nodes_7: &str,
) -> Result<(), JsValue>;
+ # [wasm_bindgen (method , structural , variadic , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_node(this: &Document, nodes: &::js_sys::Array);
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_node_0(this: &Document);
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_node_1(this: &Document, nodes_1: &Node);
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_node_2(this: &Document, nodes_1: &Node, nodes_2: &Node);
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_node_3(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ );
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_node_4(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ );
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_node_5(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ );
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_node_6(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ );
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_node_7(
+ this: &Document,
+ nodes_1: &Node,
+ nodes_2: &Node,
+ nodes_3: &Node,
+ nodes_4: &Node,
+ nodes_5: &Node,
+ nodes_6: &Node,
+ nodes_7: &Node,
+ );
+ # [wasm_bindgen (method , structural , variadic , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_str(this: &Document, nodes: &::js_sys::Array);
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_str_0(this: &Document);
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_str_1(this: &Document, nodes_1: &str);
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_str_2(this: &Document, nodes_1: &str, nodes_2: &str);
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_str_3(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ );
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_str_4(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ );
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_str_5(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ );
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_str_6(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ );
+ # [wasm_bindgen (method , structural , js_class = "Document" , js_name = replaceChildren)]
+ #[doc = "The `replaceChildren()` method."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Document/replaceChildren)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `Document`*"]
+ pub fn replace_children_with_str_7(
+ this: &Document,
+ nodes_1: &str,
+ nodes_2: &str,
+ nodes_3: &str,
+ nodes_4: &str,
+ nodes_5: &str,
+ nodes_6: &str,
+ nodes_7: &str,
+ );
#[cfg(feature = "XPathExpression")]
# [wasm_bindgen (catch , method , structural , js_class = "Document" , js_name = createExpression)]
#[doc = "The `createExpression()` method."]