Skip to main content

web_sys/features/
gen_CssTransition.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "Animation",
9        extends = "EventTarget",
10        extends = "::js_sys::Object",
11        js_name = "CSSTransition",
12        typescript_type = "CSSTransition"
13    )]
14    #[derive(Debug, Clone, PartialEq, Eq)]
15    #[doc = "The `CssTransition` class."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSTransition)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `CssTransition`*"]
20    pub type CssTransition;
21    #[wasm_bindgen(
22        method,
23        getter,
24        js_class = "CSSTransition",
25        js_name = "transitionProperty"
26    )]
27    #[doc = "Getter for the `transitionProperty` field of this object."]
28    #[doc = ""]
29    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSTransition/transitionProperty)"]
30    #[doc = ""]
31    #[doc = "*This API requires the following crate features to be activated: `CssTransition`*"]
32    pub fn transition_property(this: &CssTransition) -> ::alloc::string::String;
33}