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
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (extends = Event , extends = :: js_sys :: Object , js_name = TimeEvent , typescript_type = "TimeEvent")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `TimeEvent` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `TimeEvent`*"]
    pub type TimeEvent;
    # [wasm_bindgen (structural , method , getter , js_class = "TimeEvent" , js_name = detail)]
    #[doc = "Getter for the `detail` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/detail)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `TimeEvent`*"]
    pub fn detail(this: &TimeEvent) -> i32;
    #[cfg(feature = "Window")]
    # [wasm_bindgen (structural , method , getter , js_class = "TimeEvent" , js_name = view)]
    #[doc = "Getter for the `view` field of this object."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/view)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `TimeEvent`, `Window`*"]
    pub fn view(this: &TimeEvent) -> Option<Window>;
    # [wasm_bindgen (method , structural , js_class = "TimeEvent" , js_name = initTimeEvent)]
    #[doc = "The `initTimeEvent()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `TimeEvent`*"]
    pub fn init_time_event(this: &TimeEvent, a_type: &str);
    #[cfg(feature = "Window")]
    # [wasm_bindgen (method , structural , js_class = "TimeEvent" , js_name = initTimeEvent)]
    #[doc = "The `initTimeEvent()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `TimeEvent`, `Window`*"]
    pub fn init_time_event_with_a_view(this: &TimeEvent, a_type: &str, a_view: Option<&Window>);
    #[cfg(feature = "Window")]
    # [wasm_bindgen (method , structural , js_class = "TimeEvent" , js_name = initTimeEvent)]
    #[doc = "The `initTimeEvent()` method."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/TimeEvent/initTimeEvent)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `TimeEvent`, `Window`*"]
    pub fn init_time_event_with_a_view_and_a_detail(
        this: &TimeEvent,
        a_type: &str,
        a_view: Option<&Window>,
        a_detail: i32,
    );
}