web_sys/features/
gen_CssKeyframeRule.rs1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = CssRule , extends = :: js_sys :: Object , js_name = CSSKeyframeRule , typescript_type = "CSSKeyframeRule")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `CssKeyframeRule` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `CssKeyframeRule`*"]
14 pub type CssKeyframeRule;
15 # [wasm_bindgen (structural , method , getter , js_class = "CSSKeyframeRule" , js_name = keyText)]
16 #[doc = "Getter for the `keyText` field of this object."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/keyText)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `CssKeyframeRule`*"]
21 pub fn key_text(this: &CssKeyframeRule) -> ::alloc::string::String;
22 # [wasm_bindgen (structural , method , setter , js_class = "CSSKeyframeRule" , js_name = keyText)]
23 #[doc = "Setter for the `keyText` field of this object."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/keyText)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `CssKeyframeRule`*"]
28 pub fn set_key_text(this: &CssKeyframeRule, value: &str);
29 #[cfg(feature = "CssStyleDeclaration")]
30 # [wasm_bindgen (structural , method , getter , js_class = "CSSKeyframeRule" , js_name = style)]
31 #[doc = "Getter for the `style` field of this object."]
32 #[doc = ""]
33 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSSKeyframeRule/style)"]
34 #[doc = ""]
35 #[doc = "*This API requires the following crate features to be activated: `CssKeyframeRule`, `CssStyleDeclaration`*"]
36 pub fn style(this: &CssKeyframeRule) -> CssStyleDeclaration;
37}