web_sys/features/
gen_MutationRecord.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = MutationRecord , typescript_type = "MutationRecord")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `MutationRecord` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `MutationRecord`*"]
14 pub type MutationRecord;
15 # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = type)]
16 #[doc = "Getter for the `type` field of this object."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/type)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `MutationRecord`*"]
21 pub fn type_(this: &MutationRecord) -> ::alloc::string::String;
22 #[cfg(feature = "Node")]
23 # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = target)]
24 #[doc = "Getter for the `target` field of this object."]
25 #[doc = ""]
26 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/target)"]
27 #[doc = ""]
28 #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `Node`*"]
29 pub fn target(this: &MutationRecord) -> Option<Node>;
30 #[cfg(feature = "NodeList")]
31 # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = addedNodes)]
32 #[doc = "Getter for the `addedNodes` field of this object."]
33 #[doc = ""]
34 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/addedNodes)"]
35 #[doc = ""]
36 #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `NodeList`*"]
37 pub fn added_nodes(this: &MutationRecord) -> NodeList;
38 #[cfg(feature = "NodeList")]
39 # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = removedNodes)]
40 #[doc = "Getter for the `removedNodes` field of this object."]
41 #[doc = ""]
42 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/removedNodes)"]
43 #[doc = ""]
44 #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `NodeList`*"]
45 pub fn removed_nodes(this: &MutationRecord) -> NodeList;
46 #[cfg(feature = "Node")]
47 # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = previousSibling)]
48 #[doc = "Getter for the `previousSibling` field of this object."]
49 #[doc = ""]
50 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/previousSibling)"]
51 #[doc = ""]
52 #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `Node`*"]
53 pub fn previous_sibling(this: &MutationRecord) -> Option<Node>;
54 #[cfg(feature = "Node")]
55 # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = nextSibling)]
56 #[doc = "Getter for the `nextSibling` field of this object."]
57 #[doc = ""]
58 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/nextSibling)"]
59 #[doc = ""]
60 #[doc = "*This API requires the following crate features to be activated: `MutationRecord`, `Node`*"]
61 pub fn next_sibling(this: &MutationRecord) -> Option<Node>;
62 # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = attributeName)]
63 #[doc = "Getter for the `attributeName` field of this object."]
64 #[doc = ""]
65 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/attributeName)"]
66 #[doc = ""]
67 #[doc = "*This API requires the following crate features to be activated: `MutationRecord`*"]
68 pub fn attribute_name(this: &MutationRecord) -> Option<::alloc::string::String>;
69 # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = attributeNamespace)]
70 #[doc = "Getter for the `attributeNamespace` field of this object."]
71 #[doc = ""]
72 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/attributeNamespace)"]
73 #[doc = ""]
74 #[doc = "*This API requires the following crate features to be activated: `MutationRecord`*"]
75 pub fn attribute_namespace(this: &MutationRecord) -> Option<::alloc::string::String>;
76 # [wasm_bindgen (structural , method , getter , js_class = "MutationRecord" , js_name = oldValue)]
77 #[doc = "Getter for the `oldValue` field of this object."]
78 #[doc = ""]
79 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MutationRecord/oldValue)"]
80 #[doc = ""]
81 #[doc = "*This API requires the following crate features to be activated: `MutationRecord`*"]
82 pub fn old_value(this: &MutationRecord) -> Option<::alloc::string::String>;
83}