web_sys/features/
gen_HtmlEmbedElement.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLEmbedElement , typescript_type = "HTMLEmbedElement")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `HtmlEmbedElement` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
14 pub type HtmlEmbedElement;
15 # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = src)]
16 #[doc = "Getter for the `src` field of this object."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/src)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
21 pub fn src(this: &HtmlEmbedElement) -> ::alloc::string::String;
22 # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = src)]
23 #[doc = "Setter for the `src` field of this object."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/src)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
28 pub fn set_src(this: &HtmlEmbedElement, value: &str);
29 # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = type)]
30 #[doc = "Getter for the `type` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/type)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
35 pub fn type_(this: &HtmlEmbedElement) -> ::alloc::string::String;
36 # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = type)]
37 #[doc = "Setter for the `type` field of this object."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/type)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
42 pub fn set_type(this: &HtmlEmbedElement, value: &str);
43 # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = width)]
44 #[doc = "Getter for the `width` field of this object."]
45 #[doc = ""]
46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/width)"]
47 #[doc = ""]
48 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
49 pub fn width(this: &HtmlEmbedElement) -> ::alloc::string::String;
50 # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = width)]
51 #[doc = "Setter for the `width` field of this object."]
52 #[doc = ""]
53 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/width)"]
54 #[doc = ""]
55 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
56 pub fn set_width(this: &HtmlEmbedElement, value: &str);
57 # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = height)]
58 #[doc = "Getter for the `height` field of this object."]
59 #[doc = ""]
60 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/height)"]
61 #[doc = ""]
62 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
63 pub fn height(this: &HtmlEmbedElement) -> ::alloc::string::String;
64 # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = height)]
65 #[doc = "Setter for the `height` field of this object."]
66 #[doc = ""]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/height)"]
68 #[doc = ""]
69 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
70 pub fn set_height(this: &HtmlEmbedElement, value: &str);
71 # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = align)]
72 #[doc = "Getter for the `align` field of this object."]
73 #[doc = ""]
74 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/align)"]
75 #[doc = ""]
76 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
77 pub fn align(this: &HtmlEmbedElement) -> ::alloc::string::String;
78 # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = align)]
79 #[doc = "Setter for the `align` field of this object."]
80 #[doc = ""]
81 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/align)"]
82 #[doc = ""]
83 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
84 pub fn set_align(this: &HtmlEmbedElement, value: &str);
85 # [wasm_bindgen (structural , method , getter , js_class = "HTMLEmbedElement" , js_name = name)]
86 #[doc = "Getter for the `name` field of this object."]
87 #[doc = ""]
88 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/name)"]
89 #[doc = ""]
90 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
91 pub fn name(this: &HtmlEmbedElement) -> ::alloc::string::String;
92 # [wasm_bindgen (structural , method , setter , js_class = "HTMLEmbedElement" , js_name = name)]
93 #[doc = "Setter for the `name` field of this object."]
94 #[doc = ""]
95 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/name)"]
96 #[doc = ""]
97 #[doc = "*This API requires the following crate features to be activated: `HtmlEmbedElement`*"]
98 pub fn set_name(this: &HtmlEmbedElement, value: &str);
99 #[cfg(feature = "Document")]
100 # [wasm_bindgen (method , structural , js_class = "HTMLEmbedElement" , js_name = getSVGDocument)]
101 #[doc = "The `getSVGDocument()` method."]
102 #[doc = ""]
103 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement/getSVGDocument)"]
104 #[doc = ""]
105 #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlEmbedElement`*"]
106 pub fn get_svg_document(this: &HtmlEmbedElement) -> Option<Document>;
107}