blob: f18a5dad20f45ff5e3e3a000671c5c2ad96e603f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
pub mod css {
#![allow(unused_imports)]
use super::super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
# [wasm_bindgen (js_namespace = CSS , js_name = escape)]
#[doc = "The `CSS.escape()` function."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `css`*"]
pub fn escape(ident: &str) -> String;
# [wasm_bindgen (catch , js_namespace = CSS , js_name = supports)]
#[doc = "The `CSS.supports()` function."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `css`*"]
pub fn supports_with_value(property: &str, value: &str) -> Result<bool, JsValue>;
# [wasm_bindgen (catch , js_namespace = CSS , js_name = supports)]
#[doc = "The `CSS.supports()` function."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/CSS/supports)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `css`*"]
pub fn supports(condition_text: &str) -> Result<bool, JsValue>;
}
}
|