maxcountryman_web_sys/features/
gen_HtmlMeterElement.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 = HTMLMeterElement , typescript_type = "HTMLMeterElement")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `HtmlMeterElement` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
13    pub type HtmlMeterElement;
14    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , 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/HTMLMeterElement/value)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
20    pub fn value(this: &HtmlMeterElement) -> f64;
21    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , 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/HTMLMeterElement/value)"]
25    #[doc = ""]
26    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
27    pub fn set_value(this: &HtmlMeterElement, value: f64);
28    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = min)]
29    #[doc = "Getter for the `min` field of this object."]
30    #[doc = ""]
31    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/min)"]
32    #[doc = ""]
33    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
34    pub fn min(this: &HtmlMeterElement) -> f64;
35    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = min)]
36    #[doc = "Setter for the `min` field of this object."]
37    #[doc = ""]
38    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/min)"]
39    #[doc = ""]
40    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
41    pub fn set_min(this: &HtmlMeterElement, value: f64);
42    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = max)]
43    #[doc = "Getter for the `max` field of this object."]
44    #[doc = ""]
45    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/max)"]
46    #[doc = ""]
47    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
48    pub fn max(this: &HtmlMeterElement) -> f64;
49    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = max)]
50    #[doc = "Setter for the `max` field of this object."]
51    #[doc = ""]
52    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/max)"]
53    #[doc = ""]
54    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
55    pub fn set_max(this: &HtmlMeterElement, value: f64);
56    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = low)]
57    #[doc = "Getter for the `low` field of this object."]
58    #[doc = ""]
59    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/low)"]
60    #[doc = ""]
61    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
62    pub fn low(this: &HtmlMeterElement) -> f64;
63    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = low)]
64    #[doc = "Setter for the `low` field of this object."]
65    #[doc = ""]
66    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/low)"]
67    #[doc = ""]
68    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
69    pub fn set_low(this: &HtmlMeterElement, value: f64);
70    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = high)]
71    #[doc = "Getter for the `high` field of this object."]
72    #[doc = ""]
73    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high)"]
74    #[doc = ""]
75    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
76    pub fn high(this: &HtmlMeterElement) -> f64;
77    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = high)]
78    #[doc = "Setter for the `high` field of this object."]
79    #[doc = ""]
80    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/high)"]
81    #[doc = ""]
82    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
83    pub fn set_high(this: &HtmlMeterElement, value: f64);
84    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = optimum)]
85    #[doc = "Getter for the `optimum` field of this object."]
86    #[doc = ""]
87    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/optimum)"]
88    #[doc = ""]
89    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
90    pub fn optimum(this: &HtmlMeterElement) -> f64;
91    # [wasm_bindgen (structural , method , setter , js_class = "HTMLMeterElement" , js_name = optimum)]
92    #[doc = "Setter for the `optimum` field of this object."]
93    #[doc = ""]
94    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/optimum)"]
95    #[doc = ""]
96    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`*"]
97    pub fn set_optimum(this: &HtmlMeterElement, value: f64);
98    #[cfg(feature = "NodeList")]
99    # [wasm_bindgen (structural , method , getter , js_class = "HTMLMeterElement" , js_name = labels)]
100    #[doc = "Getter for the `labels` field of this object."]
101    #[doc = ""]
102    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement/labels)"]
103    #[doc = ""]
104    #[doc = "*This API requires the following crate features to be activated: `HtmlMeterElement`, `NodeList`*"]
105    pub fn labels(this: &HtmlMeterElement) -> NodeList;
106}