maxcountryman_web_sys/features/
gen_SvgStyleElement.rs

1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6    # [wasm_bindgen (extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGStyleElement , typescript_type = "SVGStyleElement")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `SvgStyleElement` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
13    pub type SvgStyleElement;
14    # [wasm_bindgen (structural , method , getter , js_class = "SVGStyleElement" , js_name = xmlspace)]
15    #[doc = "Getter for the `xmlspace` field of this object."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/xmlspace)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
20    pub fn xmlspace(this: &SvgStyleElement) -> String;
21    # [wasm_bindgen (structural , method , setter , js_class = "SVGStyleElement" , js_name = xmlspace)]
22    #[doc = "Setter for the `xmlspace` field of this object."]
23    #[doc = ""]
24    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/xmlspace)"]
25    #[doc = ""]
26    #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
27    pub fn set_xmlspace(this: &SvgStyleElement, value: &str);
28    # [wasm_bindgen (structural , method , getter , js_class = "SVGStyleElement" , js_name = type)]
29    #[doc = "Getter for the `type` field of this object."]
30    #[doc = ""]
31    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/type)"]
32    #[doc = ""]
33    #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
34    pub fn type_(this: &SvgStyleElement) -> String;
35    # [wasm_bindgen (structural , method , setter , js_class = "SVGStyleElement" , js_name = type)]
36    #[doc = "Setter for the `type` field of this object."]
37    #[doc = ""]
38    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/type)"]
39    #[doc = ""]
40    #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
41    pub fn set_type(this: &SvgStyleElement, value: &str);
42    # [wasm_bindgen (structural , method , getter , js_class = "SVGStyleElement" , js_name = media)]
43    #[doc = "Getter for the `media` field of this object."]
44    #[doc = ""]
45    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/media)"]
46    #[doc = ""]
47    #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
48    pub fn media(this: &SvgStyleElement) -> String;
49    # [wasm_bindgen (structural , method , setter , js_class = "SVGStyleElement" , js_name = media)]
50    #[doc = "Setter for the `media` field of this object."]
51    #[doc = ""]
52    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/media)"]
53    #[doc = ""]
54    #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
55    pub fn set_media(this: &SvgStyleElement, value: &str);
56    # [wasm_bindgen (structural , method , getter , js_class = "SVGStyleElement" , js_name = title)]
57    #[doc = "Getter for the `title` field of this object."]
58    #[doc = ""]
59    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/title)"]
60    #[doc = ""]
61    #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
62    pub fn title(this: &SvgStyleElement) -> String;
63    # [wasm_bindgen (structural , method , setter , js_class = "SVGStyleElement" , js_name = title)]
64    #[doc = "Setter for the `title` field of this object."]
65    #[doc = ""]
66    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/title)"]
67    #[doc = ""]
68    #[doc = "*This API requires the following crate features to be activated: `SvgStyleElement`*"]
69    pub fn set_title(this: &SvgStyleElement, value: &str);
70    #[cfg(feature = "StyleSheet")]
71    # [wasm_bindgen (structural , method , getter , js_class = "SVGStyleElement" , js_name = sheet)]
72    #[doc = "Getter for the `sheet` field of this object."]
73    #[doc = ""]
74    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGStyleElement/sheet)"]
75    #[doc = ""]
76    #[doc = "*This API requires the following crate features to be activated: `StyleSheet`, `SvgStyleElement`*"]
77    pub fn sheet(this: &SvgStyleElement) -> Option<StyleSheet>;
78}