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