@@ -82,14 +82,6 @@ extern "C" {
82
82
#[ doc = "" ]
83
83
#[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
84
84
pub fn set_dir ( this : & HtmlElement , value : & str ) ;
85
- #[ cfg( feature = "DomStringMap" ) ]
86
- # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = dataset) ]
87
- #[ doc = "Getter for the `dataset` field of this object." ]
88
- #[ doc = "" ]
89
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset)" ]
90
- #[ doc = "" ]
91
- #[ doc = "*This API requires the following crate features to be activated: `DomStringMap`, `HtmlElement`*" ]
92
- pub fn dataset ( this : & HtmlElement ) -> DomStringMap ;
93
85
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = innerText) ]
94
86
#[ doc = "Getter for the `innerText` field of this object." ]
95
87
#[ doc = "" ]
@@ -132,20 +124,6 @@ extern "C" {
132
124
#[ doc = "" ]
133
125
#[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
134
126
pub fn set_inert ( this : & HtmlElement , value : bool ) ;
135
- # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = tabIndex) ]
136
- #[ doc = "Getter for the `tabIndex` field of this object." ]
137
- #[ doc = "" ]
138
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)" ]
139
- #[ doc = "" ]
140
- #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
141
- pub fn tab_index ( this : & HtmlElement ) -> i32 ;
142
- # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLElement" , js_name = tabIndex) ]
143
- #[ doc = "Setter for the `tabIndex` field of this object." ]
144
- #[ doc = "" ]
145
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)" ]
146
- #[ doc = "" ]
147
- #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
148
- pub fn set_tab_index ( this : & HtmlElement , value : i32 ) ;
149
127
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = accessKey) ]
150
128
#[ doc = "Getter for the `accessKey` field of this object." ]
151
129
#[ doc = "" ]
@@ -230,14 +208,6 @@ extern "C" {
230
208
#[ doc = "" ]
231
209
#[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
232
210
pub fn set_spellcheck ( this : & HtmlElement , value : bool ) ;
233
- #[ cfg( feature = "CssStyleDeclaration" ) ]
234
- # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = style) ]
235
- #[ doc = "Getter for the `style` field of this object." ]
236
- #[ doc = "" ]
237
- #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style)" ]
238
- #[ doc = "" ]
239
- #[ doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `HtmlElement`*" ]
240
- pub fn style ( this : & HtmlElement ) -> CssStyleDeclaration ;
241
211
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = offsetParent) ]
242
212
#[ doc = "Getter for the `offsetParent` field of this object." ]
243
213
#[ doc = "" ]
@@ -315,6 +285,14 @@ extern "C" {
315
285
#[ doc = "" ]
316
286
#[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
317
287
pub fn set_onpaste ( this : & HtmlElement , value : Option < & :: js_sys:: Function > ) ;
288
+ #[ cfg( feature = "CssStyleDeclaration" ) ]
289
+ # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = style) ]
290
+ #[ doc = "Getter for the `style` field of this object." ]
291
+ #[ doc = "" ]
292
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style)" ]
293
+ #[ doc = "" ]
294
+ #[ doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `HtmlElement`*" ]
295
+ pub fn style ( this : & HtmlElement ) -> CssStyleDeclaration ;
318
296
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = onabort) ]
319
297
#[ doc = "Getter for the `onabort` field of this object." ]
320
298
#[ doc = "" ]
@@ -1477,6 +1455,56 @@ extern "C" {
1477
1455
#[ doc = "" ]
1478
1456
#[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
1479
1457
pub fn set_onwebkittransitionend ( this : & HtmlElement , value : Option < & :: js_sys:: Function > ) ;
1458
+ #[ cfg( feature = "DomStringMap" ) ]
1459
+ # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = dataset) ]
1460
+ #[ doc = "Getter for the `dataset` field of this object." ]
1461
+ #[ doc = "" ]
1462
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset)" ]
1463
+ #[ doc = "" ]
1464
+ #[ doc = "*This API requires the following crate features to be activated: `DomStringMap`, `HtmlElement`*" ]
1465
+ pub fn dataset ( this : & HtmlElement ) -> DomStringMap ;
1466
+ # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = nonce) ]
1467
+ #[ doc = "Getter for the `nonce` field of this object." ]
1468
+ #[ doc = "" ]
1469
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/nonce)" ]
1470
+ #[ doc = "" ]
1471
+ #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
1472
+ pub fn nonce ( this : & HtmlElement ) -> String ;
1473
+ # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLElement" , js_name = nonce) ]
1474
+ #[ doc = "Setter for the `nonce` field of this object." ]
1475
+ #[ doc = "" ]
1476
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/nonce)" ]
1477
+ #[ doc = "" ]
1478
+ #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
1479
+ pub fn set_nonce ( this : & HtmlElement , value : & str ) ;
1480
+ # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = autofocus) ]
1481
+ #[ doc = "Getter for the `autofocus` field of this object." ]
1482
+ #[ doc = "" ]
1483
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/autofocus)" ]
1484
+ #[ doc = "" ]
1485
+ #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
1486
+ pub fn autofocus ( this : & HtmlElement ) -> bool ;
1487
+ # [ wasm_bindgen ( structural , catch , method , setter , js_class = "HTMLElement" , js_name = autofocus) ]
1488
+ #[ doc = "Setter for the `autofocus` field of this object." ]
1489
+ #[ doc = "" ]
1490
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/autofocus)" ]
1491
+ #[ doc = "" ]
1492
+ #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
1493
+ pub fn set_autofocus ( this : & HtmlElement , value : bool ) -> Result < ( ) , JsValue > ;
1494
+ # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = tabIndex) ]
1495
+ #[ doc = "Getter for the `tabIndex` field of this object." ]
1496
+ #[ doc = "" ]
1497
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)" ]
1498
+ #[ doc = "" ]
1499
+ #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
1500
+ pub fn tab_index ( this : & HtmlElement ) -> i32 ;
1501
+ # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLElement" , js_name = tabIndex) ]
1502
+ #[ doc = "Setter for the `tabIndex` field of this object." ]
1503
+ #[ doc = "" ]
1504
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/tabIndex)" ]
1505
+ #[ doc = "" ]
1506
+ #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
1507
+ pub fn set_tab_index ( this : & HtmlElement , value : i32 ) ;
1480
1508
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = onerror) ]
1481
1509
#[ doc = "Getter for the `onerror` field of this object." ]
1482
1510
#[ doc = "" ]
0 commit comments