web_sys/features/
gen_CssConditionRule.rs

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