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