@@ -11,98 +11,113 @@ extern "C" {
11
11
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement)" ]
12
12
#[ doc = "" ]
13
13
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
14
+ #[ deprecated( note = "Absent in all major browsers" ) ]
14
15
pub type HtmlMenuItemElement ;
16
+ #[ deprecated( note = "Absent in all major browsers" ) ]
15
17
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = type ) ]
16
18
#[ doc = "Getter for the `type` field of this object." ]
17
19
#[ doc = "" ]
18
20
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/type)" ]
19
21
#[ doc = "" ]
20
22
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
21
23
pub fn type_ ( this : & HtmlMenuItemElement ) -> String ;
24
+ #[ deprecated( note = "Absent in all major browsers" ) ]
22
25
# [ wasm_bindgen ( structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = type ) ]
23
26
#[ doc = "Setter for the `type` field of this object." ]
24
27
#[ doc = "" ]
25
28
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/type)" ]
26
29
#[ doc = "" ]
27
30
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
28
31
pub fn set_type ( this : & HtmlMenuItemElement , value : & str ) ;
32
+ #[ deprecated( note = "Absent in all major browsers" ) ]
29
33
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = label) ]
30
34
#[ doc = "Getter for the `label` field of this object." ]
31
35
#[ doc = "" ]
32
36
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/label)" ]
33
37
#[ doc = "" ]
34
38
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
35
39
pub fn label ( this : & HtmlMenuItemElement ) -> String ;
40
+ #[ deprecated( note = "Absent in all major browsers" ) ]
36
41
# [ wasm_bindgen ( structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = label) ]
37
42
#[ doc = "Setter for the `label` field of this object." ]
38
43
#[ doc = "" ]
39
44
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/label)" ]
40
45
#[ doc = "" ]
41
46
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
42
47
pub fn set_label ( this : & HtmlMenuItemElement , value : & str ) ;
48
+ #[ deprecated( note = "Absent in all major browsers" ) ]
43
49
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = icon) ]
44
50
#[ doc = "Getter for the `icon` field of this object." ]
45
51
#[ doc = "" ]
46
52
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/icon)" ]
47
53
#[ doc = "" ]
48
54
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
49
55
pub fn icon ( this : & HtmlMenuItemElement ) -> String ;
56
+ #[ deprecated( note = "Absent in all major browsers" ) ]
50
57
# [ wasm_bindgen ( structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = icon) ]
51
58
#[ doc = "Setter for the `icon` field of this object." ]
52
59
#[ doc = "" ]
53
60
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/icon)" ]
54
61
#[ doc = "" ]
55
62
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
56
63
pub fn set_icon ( this : & HtmlMenuItemElement , value : & str ) ;
64
+ #[ deprecated( note = "Absent in all major browsers" ) ]
57
65
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = disabled) ]
58
66
#[ doc = "Getter for the `disabled` field of this object." ]
59
67
#[ doc = "" ]
60
68
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/disabled)" ]
61
69
#[ doc = "" ]
62
70
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
63
71
pub fn disabled ( this : & HtmlMenuItemElement ) -> bool ;
72
+ #[ deprecated( note = "Absent in all major browsers" ) ]
64
73
# [ wasm_bindgen ( structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = disabled) ]
65
74
#[ doc = "Setter for the `disabled` field of this object." ]
66
75
#[ doc = "" ]
67
76
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/disabled)" ]
68
77
#[ doc = "" ]
69
78
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
70
79
pub fn set_disabled ( this : & HtmlMenuItemElement , value : bool ) ;
80
+ #[ deprecated( note = "Absent in all major browsers" ) ]
71
81
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = checked) ]
72
82
#[ doc = "Getter for the `checked` field of this object." ]
73
83
#[ doc = "" ]
74
84
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/checked)" ]
75
85
#[ doc = "" ]
76
86
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
77
87
pub fn checked ( this : & HtmlMenuItemElement ) -> bool ;
88
+ #[ deprecated( note = "Absent in all major browsers" ) ]
78
89
# [ wasm_bindgen ( structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = checked) ]
79
90
#[ doc = "Setter for the `checked` field of this object." ]
80
91
#[ doc = "" ]
81
92
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/checked)" ]
82
93
#[ doc = "" ]
83
94
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
84
95
pub fn set_checked ( this : & HtmlMenuItemElement , value : bool ) ;
96
+ #[ deprecated( note = "Absent in all major browsers" ) ]
85
97
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = radiogroup) ]
86
98
#[ doc = "Getter for the `radiogroup` field of this object." ]
87
99
#[ doc = "" ]
88
100
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/radiogroup)" ]
89
101
#[ doc = "" ]
90
102
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
91
103
pub fn radiogroup ( this : & HtmlMenuItemElement ) -> String ;
104
+ #[ deprecated( note = "Absent in all major browsers" ) ]
92
105
# [ wasm_bindgen ( structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = radiogroup) ]
93
106
#[ doc = "Setter for the `radiogroup` field of this object." ]
94
107
#[ doc = "" ]
95
108
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/radiogroup)" ]
96
109
#[ doc = "" ]
97
110
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
98
111
pub fn set_radiogroup ( this : & HtmlMenuItemElement , value : & str ) ;
112
+ #[ deprecated( note = "Absent in all major browsers" ) ]
99
113
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLMenuItemElement" , js_name = defaultChecked) ]
100
114
#[ doc = "Getter for the `defaultChecked` field of this object." ]
101
115
#[ doc = "" ]
102
116
#[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuItemElement/defaultChecked)" ]
103
117
#[ doc = "" ]
104
118
#[ doc = "*This API requires the following crate features to be activated: `HtmlMenuItemElement`*" ]
105
119
pub fn default_checked ( this : & HtmlMenuItemElement ) -> bool ;
120
+ #[ deprecated( note = "Absent in all major browsers" ) ]
106
121
# [ wasm_bindgen ( structural , method , setter , js_class = "HTMLMenuItemElement" , js_name = defaultChecked) ]
107
122
#[ doc = "Setter for the `defaultChecked` field of this object." ]
108
123
#[ doc = "" ]
0 commit comments