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