@@ -25,6 +25,34 @@ extern "C" {
25
25
#[ doc = "" ]
26
26
#[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
27
27
pub fn set_title ( this : & HtmlElement , value : & str ) ;
28
+ # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = scrollHeight) ]
29
+ #[ doc = "Getter for the `scrollHeight` field of this object." ]
30
+ #[ doc = "" ]
31
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollHeight)" ]
32
+ #[ doc = "" ]
33
+ #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
34
+ pub fn scroll_height ( this : & HtmlElement ) -> i32 ;
35
+ # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLElement" , js_name = scrollHeight) ]
36
+ #[ doc = "Setter for the `scrollHeight` field of this object." ]
37
+ #[ doc = "" ]
38
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollHeight)" ]
39
+ #[ doc = "" ]
40
+ #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
41
+ pub fn set_scroll_height ( this : & HtmlElement , value : i32 ) ;
42
+ # [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = scrollTop) ]
43
+ #[ doc = "Getter for the `scrollTop` field of this object." ]
44
+ #[ doc = "" ]
45
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollTop)" ]
46
+ #[ doc = "" ]
47
+ #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
48
+ pub fn scroll_top ( this : & HtmlElement ) -> i32 ;
49
+ # [ wasm_bindgen ( structural , method , setter , js_class = "HTMLElement" , js_name = scrollTop) ]
50
+ #[ doc = "Setter for the `scrollTop` field of this object." ]
51
+ #[ doc = "" ]
52
+ #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/scrollTop)" ]
53
+ #[ doc = "" ]
54
+ #[ doc = "*This API requires the following crate features to be activated: `HtmlElement`*" ]
55
+ pub fn set_scroll_top ( this : & HtmlElement , value : i32 ) ;
28
56
# [ wasm_bindgen ( structural , method , getter , js_class = "HTMLElement" , js_name = lang) ]
29
57
#[ doc = "Getter for the `lang` field of this object." ]
30
58
#[ doc = "" ]
0 commit comments