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