web_sys/features/
gen_HtmlFrameElement.rs

1#![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 = HTMLFrameElement , typescript_type = "HTMLFrameElement")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `HtmlFrameElement` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
14    pub type HtmlFrameElement;
15    # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = name)]
16    #[doc = "Getter for the `name` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/name)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
21    pub fn name(this: &HtmlFrameElement) -> ::alloc::string::String;
22    # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = name)]
23    #[doc = "Setter for the `name` field of this object."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/name)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
28    pub fn set_name(this: &HtmlFrameElement, value: &str);
29    # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = scrolling)]
30    #[doc = "Getter for the `scrolling` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/scrolling)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
35    pub fn scrolling(this: &HtmlFrameElement) -> ::alloc::string::String;
36    # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = scrolling)]
37    #[doc = "Setter for the `scrolling` field of this object."]
38    #[doc = ""]
39    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/scrolling)"]
40    #[doc = ""]
41    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
42    pub fn set_scrolling(this: &HtmlFrameElement, value: &str);
43    # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = src)]
44    #[doc = "Getter for the `src` field of this object."]
45    #[doc = ""]
46    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/src)"]
47    #[doc = ""]
48    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
49    pub fn src(this: &HtmlFrameElement) -> ::alloc::string::String;
50    # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = src)]
51    #[doc = "Setter for the `src` field of this object."]
52    #[doc = ""]
53    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/src)"]
54    #[doc = ""]
55    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
56    pub fn set_src(this: &HtmlFrameElement, value: &str);
57    # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = frameBorder)]
58    #[doc = "Getter for the `frameBorder` field of this object."]
59    #[doc = ""]
60    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/frameBorder)"]
61    #[doc = ""]
62    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
63    pub fn frame_border(this: &HtmlFrameElement) -> ::alloc::string::String;
64    # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = frameBorder)]
65    #[doc = "Setter for the `frameBorder` field of this object."]
66    #[doc = ""]
67    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/frameBorder)"]
68    #[doc = ""]
69    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
70    pub fn set_frame_border(this: &HtmlFrameElement, value: &str);
71    # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = longDesc)]
72    #[doc = "Getter for the `longDesc` field of this object."]
73    #[doc = ""]
74    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/longDesc)"]
75    #[doc = ""]
76    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
77    pub fn long_desc(this: &HtmlFrameElement) -> ::alloc::string::String;
78    # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = longDesc)]
79    #[doc = "Setter for the `longDesc` field of this object."]
80    #[doc = ""]
81    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/longDesc)"]
82    #[doc = ""]
83    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
84    pub fn set_long_desc(this: &HtmlFrameElement, value: &str);
85    # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = noResize)]
86    #[doc = "Getter for the `noResize` field of this object."]
87    #[doc = ""]
88    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/noResize)"]
89    #[doc = ""]
90    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
91    pub fn no_resize(this: &HtmlFrameElement) -> bool;
92    # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = noResize)]
93    #[doc = "Setter for the `noResize` field of this object."]
94    #[doc = ""]
95    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/noResize)"]
96    #[doc = ""]
97    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
98    pub fn set_no_resize(this: &HtmlFrameElement, value: bool);
99    #[cfg(feature = "Document")]
100    # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = contentDocument)]
101    #[doc = "Getter for the `contentDocument` field of this object."]
102    #[doc = ""]
103    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/contentDocument)"]
104    #[doc = ""]
105    #[doc = "*This API requires the following crate features to be activated: `Document`, `HtmlFrameElement`*"]
106    pub fn content_document(this: &HtmlFrameElement) -> Option<Document>;
107    #[cfg(feature = "Window")]
108    # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = contentWindow)]
109    #[doc = "Getter for the `contentWindow` field of this object."]
110    #[doc = ""]
111    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/contentWindow)"]
112    #[doc = ""]
113    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`, `Window`*"]
114    pub fn content_window(this: &HtmlFrameElement) -> Option<Window>;
115    # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = marginHeight)]
116    #[doc = "Getter for the `marginHeight` field of this object."]
117    #[doc = ""]
118    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginHeight)"]
119    #[doc = ""]
120    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
121    pub fn margin_height(this: &HtmlFrameElement) -> ::alloc::string::String;
122    # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = marginHeight)]
123    #[doc = "Setter for the `marginHeight` field of this object."]
124    #[doc = ""]
125    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginHeight)"]
126    #[doc = ""]
127    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
128    pub fn set_margin_height(this: &HtmlFrameElement, value: &str);
129    # [wasm_bindgen (structural , method , getter , js_class = "HTMLFrameElement" , js_name = marginWidth)]
130    #[doc = "Getter for the `marginWidth` field of this object."]
131    #[doc = ""]
132    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginWidth)"]
133    #[doc = ""]
134    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
135    pub fn margin_width(this: &HtmlFrameElement) -> ::alloc::string::String;
136    # [wasm_bindgen (structural , method , setter , js_class = "HTMLFrameElement" , js_name = marginWidth)]
137    #[doc = "Setter for the `marginWidth` field of this object."]
138    #[doc = ""]
139    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLFrameElement/marginWidth)"]
140    #[doc = ""]
141    #[doc = "*This API requires the following crate features to be activated: `HtmlFrameElement`*"]
142    pub fn set_margin_width(this: &HtmlFrameElement, value: &str);
143}