1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = Attr , typescript_type = "Attr")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `Attr` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
13     pub type Attr;
14     # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = localName)]
15     #[doc = "Getter for the `localName` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/localName)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
local_name(this: &Attr) -> String20     pub fn local_name(this: &Attr) -> String;
21     # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = value)]
22     #[doc = "Getter for the `value` field of this object."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/value)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
value(this: &Attr) -> String27     pub fn value(this: &Attr) -> String;
28     # [wasm_bindgen (structural , method , setter , js_class = "Attr" , js_name = value)]
29     #[doc = "Setter for the `value` field of this object."]
30     #[doc = ""]
31     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/value)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
set_value(this: &Attr, value: &str)34     pub fn set_value(this: &Attr, value: &str);
35     # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = name)]
36     #[doc = "Getter for the `name` field of this object."]
37     #[doc = ""]
38     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/name)"]
39     #[doc = ""]
40     #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
name(this: &Attr) -> String41     pub fn name(this: &Attr) -> String;
42     # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = namespaceURI)]
43     #[doc = "Getter for the `namespaceURI` field of this object."]
44     #[doc = ""]
45     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/namespaceURI)"]
46     #[doc = ""]
47     #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
namespace_uri(this: &Attr) -> Option<String>48     pub fn namespace_uri(this: &Attr) -> Option<String>;
49     # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = prefix)]
50     #[doc = "Getter for the `prefix` field of this object."]
51     #[doc = ""]
52     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/prefix)"]
53     #[doc = ""]
54     #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
prefix(this: &Attr) -> Option<String>55     pub fn prefix(this: &Attr) -> Option<String>;
56     # [wasm_bindgen (structural , method , getter , js_class = "Attr" , js_name = specified)]
57     #[doc = "Getter for the `specified` field of this object."]
58     #[doc = ""]
59     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Attr/specified)"]
60     #[doc = ""]
61     #[doc = "*This API requires the following crate features to be activated: `Attr`*"]
specified(this: &Attr) -> bool62     pub fn specified(this: &Attr) -> bool;
63 }
64