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