Skip to main content

web_sys/features/
gen_CssViewTransitionRule.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 = "CssRule",
10        extends = "::js_sys::Object",
11        js_name = "CSSViewTransitionRule",
12        typescript_type = "CSSViewTransitionRule"
13    )]
14    #[derive(Debug, Clone, PartialEq, Eq)]
15    #[doc = "The `CssViewTransitionRule` class."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSViewTransitionRule)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `CssViewTransitionRule`*"]
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 CssViewTransitionRule;
24    #[cfg(web_sys_unstable_apis)]
25    #[wasm_bindgen(
26        method,
27        getter,
28        js_class = "CSSViewTransitionRule",
29        js_name = "navigation"
30    )]
31    #[doc = "Getter for the `navigation` field of this object."]
32    #[doc = ""]
33    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSViewTransitionRule/navigation)"]
34    #[doc = ""]
35    #[doc = "*This API requires the following crate features to be activated: `CssViewTransitionRule`*"]
36    #[doc = ""]
37    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
38    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
39    pub fn navigation(this: &CssViewTransitionRule) -> ::alloc::string::String;
40    #[cfg(web_sys_unstable_apis)]
41    #[wasm_bindgen(method, getter, js_class = "CSSViewTransitionRule", js_name = "types")]
42    #[doc = "Getter for the `types` field of this object."]
43    #[doc = ""]
44    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSViewTransitionRule/types)"]
45    #[doc = ""]
46    #[doc = "*This API requires the following crate features to be activated: `CssViewTransitionRule`*"]
47    #[doc = ""]
48    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
49    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
50    pub fn types(this: &CssViewTransitionRule) -> ::js_sys::Array<::js_sys::JsString>;
51}