1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = UiEvent , extends = Event , extends = :: js_sys :: Object , js_name = ScrollAreaEvent , typescript_type = "ScrollAreaEvent")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `ScrollAreaEvent` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
13     pub type ScrollAreaEvent;
14     # [wasm_bindgen (structural , method , getter , js_class = "ScrollAreaEvent" , js_name = x)]
15     #[doc = "Getter for the `x` field of this object."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/x)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
x(this: &ScrollAreaEvent) -> f3220     pub fn x(this: &ScrollAreaEvent) -> f32;
21     # [wasm_bindgen (structural , method , getter , js_class = "ScrollAreaEvent" , js_name = y)]
22     #[doc = "Getter for the `y` field of this object."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/y)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
y(this: &ScrollAreaEvent) -> f3227     pub fn y(this: &ScrollAreaEvent) -> f32;
28     # [wasm_bindgen (structural , method , getter , js_class = "ScrollAreaEvent" , js_name = width)]
29     #[doc = "Getter for the `width` field of this object."]
30     #[doc = ""]
31     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/width)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
width(this: &ScrollAreaEvent) -> f3234     pub fn width(this: &ScrollAreaEvent) -> f32;
35     # [wasm_bindgen (structural , method , getter , js_class = "ScrollAreaEvent" , js_name = height)]
36     #[doc = "Getter for the `height` field of this object."]
37     #[doc = ""]
38     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/height)"]
39     #[doc = ""]
40     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
height(this: &ScrollAreaEvent) -> f3241     pub fn height(this: &ScrollAreaEvent) -> f32;
42     # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
43     #[doc = "The `initScrollAreaEvent()` method."]
44     #[doc = ""]
45     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
46     #[doc = ""]
47     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
init_scroll_area_event(this: &ScrollAreaEvent, type_: &str)48     pub fn init_scroll_area_event(this: &ScrollAreaEvent, type_: &str);
49     # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
50     #[doc = "The `initScrollAreaEvent()` method."]
51     #[doc = ""]
52     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
53     #[doc = ""]
54     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
init_scroll_area_event_with_can_bubble( this: &ScrollAreaEvent, type_: &str, can_bubble: bool, )55     pub fn init_scroll_area_event_with_can_bubble(
56         this: &ScrollAreaEvent,
57         type_: &str,
58         can_bubble: bool,
59     );
60     # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
61     #[doc = "The `initScrollAreaEvent()` method."]
62     #[doc = ""]
63     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
64     #[doc = ""]
65     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`*"]
init_scroll_area_event_with_can_bubble_and_cancelable( this: &ScrollAreaEvent, type_: &str, can_bubble: bool, cancelable: bool, )66     pub fn init_scroll_area_event_with_can_bubble_and_cancelable(
67         this: &ScrollAreaEvent,
68         type_: &str,
69         can_bubble: bool,
70         cancelable: bool,
71     );
72     #[cfg(feature = "Window")]
73     # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
74     #[doc = "The `initScrollAreaEvent()` method."]
75     #[doc = ""]
76     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
77     #[doc = ""]
78     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
init_scroll_area_event_with_can_bubble_and_cancelable_and_view( this: &ScrollAreaEvent, type_: &str, can_bubble: bool, cancelable: bool, view: Option<&Window>, )79     pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view(
80         this: &ScrollAreaEvent,
81         type_: &str,
82         can_bubble: bool,
83         cancelable: bool,
84         view: Option<&Window>,
85     );
86     #[cfg(feature = "Window")]
87     # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
88     #[doc = "The `initScrollAreaEvent()` method."]
89     #[doc = ""]
90     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
91     #[doc = ""]
92     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail( this: &ScrollAreaEvent, type_: &str, can_bubble: bool, cancelable: bool, view: Option<&Window>, detail: i32, )93     pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail(
94         this: &ScrollAreaEvent,
95         type_: &str,
96         can_bubble: bool,
97         cancelable: bool,
98         view: Option<&Window>,
99         detail: i32,
100     );
101     #[cfg(feature = "Window")]
102     # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
103     #[doc = "The `initScrollAreaEvent()` method."]
104     #[doc = ""]
105     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
106     #[doc = ""]
107     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x( this: &ScrollAreaEvent, type_: &str, can_bubble: bool, cancelable: bool, view: Option<&Window>, detail: i32, x: f32, )108     pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x(
109         this: &ScrollAreaEvent,
110         type_: &str,
111         can_bubble: bool,
112         cancelable: bool,
113         view: Option<&Window>,
114         detail: i32,
115         x: f32,
116     );
117     #[cfg(feature = "Window")]
118     # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
119     #[doc = "The `initScrollAreaEvent()` method."]
120     #[doc = ""]
121     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
122     #[doc = ""]
123     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y( this: &ScrollAreaEvent, type_: &str, can_bubble: bool, cancelable: bool, view: Option<&Window>, detail: i32, x: f32, y: f32, )124     pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y(
125         this: &ScrollAreaEvent,
126         type_: &str,
127         can_bubble: bool,
128         cancelable: bool,
129         view: Option<&Window>,
130         detail: i32,
131         x: f32,
132         y: f32,
133     );
134     #[cfg(feature = "Window")]
135     # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
136     #[doc = "The `initScrollAreaEvent()` method."]
137     #[doc = ""]
138     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
139     #[doc = ""]
140     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width( this: &ScrollAreaEvent, type_: &str, can_bubble: bool, cancelable: bool, view: Option<&Window>, detail: i32, x: f32, y: f32, width: f32, )141     pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width(
142         this: &ScrollAreaEvent,
143         type_: &str,
144         can_bubble: bool,
145         cancelable: bool,
146         view: Option<&Window>,
147         detail: i32,
148         x: f32,
149         y: f32,
150         width: f32,
151     );
152     #[cfg(feature = "Window")]
153     # [wasm_bindgen (method , structural , js_class = "ScrollAreaEvent" , js_name = initScrollAreaEvent)]
154     #[doc = "The `initScrollAreaEvent()` method."]
155     #[doc = ""]
156     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ScrollAreaEvent/initScrollAreaEvent)"]
157     #[doc = ""]
158     #[doc = "*This API requires the following crate features to be activated: `ScrollAreaEvent`, `Window`*"]
init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_and_height( this: &ScrollAreaEvent, type_: &str, can_bubble: bool, cancelable: bool, view: Option<&Window>, detail: i32, x: f32, y: f32, width: f32, height: f32, )159     pub fn init_scroll_area_event_with_can_bubble_and_cancelable_and_view_and_detail_and_x_and_y_and_width_and_height(
160         this: &ScrollAreaEvent,
161         type_: &str,
162         can_bubble: bool,
163         cancelable: bool,
164         view: Option<&Window>,
165         detail: i32,
166         x: f32,
167         y: f32,
168         width: f32,
169         height: f32,
170     );
171 }
172