web_sys/features/
gen_ValidityState.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = :: js_sys :: Object , js_name = ValidityState , typescript_type = "ValidityState")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `ValidityState` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
14 pub type ValidityState;
15 # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = valueMissing)]
16 #[doc = "Getter for the `valueMissing` field of this object."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/valueMissing)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
21 pub fn value_missing(this: &ValidityState) -> bool;
22 # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = typeMismatch)]
23 #[doc = "Getter for the `typeMismatch` field of this object."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/typeMismatch)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
28 pub fn type_mismatch(this: &ValidityState) -> bool;
29 # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = patternMismatch)]
30 #[doc = "Getter for the `patternMismatch` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/patternMismatch)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
35 pub fn pattern_mismatch(this: &ValidityState) -> bool;
36 # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = tooLong)]
37 #[doc = "Getter for the `tooLong` field of this object."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooLong)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
42 pub fn too_long(this: &ValidityState) -> bool;
43 # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = tooShort)]
44 #[doc = "Getter for the `tooShort` field of this object."]
45 #[doc = ""]
46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/tooShort)"]
47 #[doc = ""]
48 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
49 pub fn too_short(this: &ValidityState) -> bool;
50 # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = rangeUnderflow)]
51 #[doc = "Getter for the `rangeUnderflow` field of this object."]
52 #[doc = ""]
53 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/rangeUnderflow)"]
54 #[doc = ""]
55 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
56 pub fn range_underflow(this: &ValidityState) -> bool;
57 # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = rangeOverflow)]
58 #[doc = "Getter for the `rangeOverflow` field of this object."]
59 #[doc = ""]
60 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/rangeOverflow)"]
61 #[doc = ""]
62 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
63 pub fn range_overflow(this: &ValidityState) -> bool;
64 # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = stepMismatch)]
65 #[doc = "Getter for the `stepMismatch` field of this object."]
66 #[doc = ""]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/stepMismatch)"]
68 #[doc = ""]
69 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
70 pub fn step_mismatch(this: &ValidityState) -> bool;
71 # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = badInput)]
72 #[doc = "Getter for the `badInput` field of this object."]
73 #[doc = ""]
74 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/badInput)"]
75 #[doc = ""]
76 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
77 pub fn bad_input(this: &ValidityState) -> bool;
78 # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = customError)]
79 #[doc = "Getter for the `customError` field of this object."]
80 #[doc = ""]
81 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/customError)"]
82 #[doc = ""]
83 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
84 pub fn custom_error(this: &ValidityState) -> bool;
85 # [wasm_bindgen (structural , method , getter , js_class = "ValidityState" , js_name = valid)]
86 #[doc = "Getter for the `valid` field of this object."]
87 #[doc = ""]
88 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState/valid)"]
89 #[doc = ""]
90 #[doc = "*This API requires the following crate features to be activated: `ValidityState`*"]
91 pub fn valid(this: &ValidityState) -> bool;
92}