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 = HTMLProgressElement , typescript_type = "HTMLProgressElement")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `HtmlProgressElement` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
13     pub type HtmlProgressElement;
14     # [wasm_bindgen (structural , method , getter , js_class = "HTMLProgressElement" , js_name = value)]
15     #[doc = "Getter for the `value` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/value)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
value(this: &HtmlProgressElement) -> f6420     pub fn value(this: &HtmlProgressElement) -> f64;
21     # [wasm_bindgen (structural , method , setter , js_class = "HTMLProgressElement" , js_name = value)]
22     #[doc = "Setter for the `value` field of this object."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/value)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
set_value(this: &HtmlProgressElement, value: f64)27     pub fn set_value(this: &HtmlProgressElement, value: f64);
28     # [wasm_bindgen (structural , method , getter , js_class = "HTMLProgressElement" , js_name = max)]
29     #[doc = "Getter for the `max` field of this object."]
30     #[doc = ""]
31     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/max)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
max(this: &HtmlProgressElement) -> f6434     pub fn max(this: &HtmlProgressElement) -> f64;
35     # [wasm_bindgen (structural , method , setter , js_class = "HTMLProgressElement" , js_name = max)]
36     #[doc = "Setter for the `max` field of this object."]
37     #[doc = ""]
38     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/max)"]
39     #[doc = ""]
40     #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
set_max(this: &HtmlProgressElement, value: f64)41     pub fn set_max(this: &HtmlProgressElement, value: f64);
42     # [wasm_bindgen (structural , method , getter , js_class = "HTMLProgressElement" , js_name = position)]
43     #[doc = "Getter for the `position` field of this object."]
44     #[doc = ""]
45     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/position)"]
46     #[doc = ""]
47     #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`*"]
position(this: &HtmlProgressElement) -> f6448     pub fn position(this: &HtmlProgressElement) -> f64;
49     #[cfg(feature = "NodeList")]
50     # [wasm_bindgen (structural , method , getter , js_class = "HTMLProgressElement" , js_name = labels)]
51     #[doc = "Getter for the `labels` field of this object."]
52     #[doc = ""]
53     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement/labels)"]
54     #[doc = ""]
55     #[doc = "*This API requires the following crate features to be activated: `HtmlProgressElement`, `NodeList`*"]
labels(this: &HtmlProgressElement) -> NodeList56     pub fn labels(this: &HtmlProgressElement) -> NodeList;
57 }
58