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