maxcountryman_web_sys/features/
gen_SvgScriptElement.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 = SVGScriptElement , typescript_type = "SVGScriptElement")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `SvgScriptElement` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `SvgScriptElement`*"]
13    pub type SvgScriptElement;
14    # [wasm_bindgen (structural , method , getter , js_class = "SVGScriptElement" , js_name = type)]
15    #[doc = "Getter for the `type` field of this object."]
16    #[doc = ""]
17    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/type)"]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `SvgScriptElement`*"]
20    pub fn type_(this: &SvgScriptElement) -> String;
21    # [wasm_bindgen (structural , method , setter , js_class = "SVGScriptElement" , js_name = type)]
22    #[doc = "Setter for the `type` field of this object."]
23    #[doc = ""]
24    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/type)"]
25    #[doc = ""]
26    #[doc = "*This API requires the following crate features to be activated: `SvgScriptElement`*"]
27    pub fn set_type(this: &SvgScriptElement, value: &str);
28    # [wasm_bindgen (structural , method , getter , js_class = "SVGScriptElement" , js_name = crossOrigin)]
29    #[doc = "Getter for the `crossOrigin` field of this object."]
30    #[doc = ""]
31    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/crossOrigin)"]
32    #[doc = ""]
33    #[doc = "*This API requires the following crate features to be activated: `SvgScriptElement`*"]
34    pub fn cross_origin(this: &SvgScriptElement) -> Option<String>;
35    # [wasm_bindgen (structural , method , setter , js_class = "SVGScriptElement" , js_name = crossOrigin)]
36    #[doc = "Setter for the `crossOrigin` field of this object."]
37    #[doc = ""]
38    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/crossOrigin)"]
39    #[doc = ""]
40    #[doc = "*This API requires the following crate features to be activated: `SvgScriptElement`*"]
41    pub fn set_cross_origin(this: &SvgScriptElement, value: Option<&str>);
42    #[cfg(feature = "SvgAnimatedString")]
43    # [wasm_bindgen (structural , method , getter , js_class = "SVGScriptElement" , js_name = href)]
44    #[doc = "Getter for the `href` field of this object."]
45    #[doc = ""]
46    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGScriptElement/href)"]
47    #[doc = ""]
48    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgScriptElement`*"]
49    pub fn href(this: &SvgScriptElement) -> SvgAnimatedString;
50}