Skip to main content

web_sys/features/
gen_SFrameTransformErrorEvent.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[cfg(web_sys_unstable_apis)]
6#[wasm_bindgen]
7extern "C" {
8    #[wasm_bindgen(
9        extends = "Event",
10        extends = "::js_sys::Object",
11        js_name = "SFrameTransformErrorEvent",
12        typescript_type = "SFrameTransformErrorEvent"
13    )]
14    #[derive(Debug, Clone, PartialEq, Eq)]
15    #[doc = "The `SFrameTransformErrorEvent` class."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SFrameTransformErrorEvent)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `SFrameTransformErrorEvent`*"]
20    #[doc = ""]
21    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
22    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
23    pub type SFrameTransformErrorEvent;
24    #[cfg(web_sys_unstable_apis)]
25    #[cfg(feature = "SFrameTransformErrorEventType")]
26    #[wasm_bindgen(
27        method,
28        getter,
29        js_class = "SFrameTransformErrorEvent",
30        js_name = "errorType"
31    )]
32    #[doc = "Getter for the `errorType` field of this object."]
33    #[doc = ""]
34    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SFrameTransformErrorEvent/errorType)"]
35    #[doc = ""]
36    #[doc = "*This API requires the following crate features to be activated: `SFrameTransformErrorEvent`, `SFrameTransformErrorEventType`*"]
37    #[doc = ""]
38    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
39    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
40    pub fn error_type(this: &SFrameTransformErrorEvent) -> SFrameTransformErrorEventType;
41    #[cfg(web_sys_unstable_apis)]
42    #[wasm_bindgen(
43        method,
44        getter,
45        js_class = "SFrameTransformErrorEvent",
46        js_name = "keyID"
47    )]
48    #[doc = "Getter for the `keyID` field of this object."]
49    #[doc = ""]
50    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SFrameTransformErrorEvent/keyID)"]
51    #[doc = ""]
52    #[doc = "*This API requires the following crate features to be activated: `SFrameTransformErrorEvent`*"]
53    #[doc = ""]
54    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
55    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
56    pub fn key_id(this: &SFrameTransformErrorEvent) -> ::wasm_bindgen::JsValue;
57    #[cfg(web_sys_unstable_apis)]
58    #[wasm_bindgen(
59        method,
60        getter,
61        js_class = "SFrameTransformErrorEvent",
62        js_name = "frame"
63    )]
64    #[doc = "Getter for the `frame` field of this object."]
65    #[doc = ""]
66    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SFrameTransformErrorEvent/frame)"]
67    #[doc = ""]
68    #[doc = "*This API requires the following crate features to be activated: `SFrameTransformErrorEvent`*"]
69    #[doc = ""]
70    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
71    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
72    pub fn frame(this: &SFrameTransformErrorEvent) -> ::wasm_bindgen::JsValue;
73    #[cfg(web_sys_unstable_apis)]
74    #[cfg(feature = "SFrameTransformErrorEventInit")]
75    #[wasm_bindgen(catch, constructor, js_class = "SFrameTransformErrorEvent")]
76    #[doc = "The `new SFrameTransformErrorEvent(..)` constructor, creating a new instance of `SFrameTransformErrorEvent`."]
77    #[doc = ""]
78    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SFrameTransformErrorEvent/SFrameTransformErrorEvent)"]
79    #[doc = ""]
80    #[doc = "*This API requires the following crate features to be activated: `SFrameTransformErrorEvent`, `SFrameTransformErrorEventInit`*"]
81    #[doc = ""]
82    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
83    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
84    pub fn new(
85        type_: &str,
86        event_init_dict: &SFrameTransformErrorEventInit,
87    ) -> Result<SFrameTransformErrorEvent, JsValue>;
88}