web_sys/features/
gen_CssAnimation.rs1#![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 = "CSSAnimation",
12 typescript_type = "CSSAnimation"
13 )]
14 #[derive(Debug, Clone, PartialEq, Eq)]
15 #[doc = "The `CssAnimation` class."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSAnimation)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `CssAnimation`*"]
20 pub type CssAnimation;
21 #[wasm_bindgen(method, getter, js_class = "CSSAnimation", js_name = "animationName")]
22 #[doc = "Getter for the `animationName` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSAnimation/animationName)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `CssAnimation`*"]
27 pub fn animation_name(this: &CssAnimation) -> ::alloc::string::String;
28}