maxcountryman_web_sys/features/
gen_HtmlEmbedElement.rs

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