Skip to main content

web_sys/features/
gen_SvgmPathElement.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    #[wasm_bindgen(
8        extends = "SvgElement",
9        extends = "Element",
10        extends = "Node",
11        extends = "EventTarget",
12        extends = "::js_sys::Object",
13        js_name = "SVGMPathElement",
14        typescript_type = "SVGMPathElement"
15    )]
16    #[derive(Debug, Clone, PartialEq, Eq)]
17    #[doc = "The `SvgmPathElement` class."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgmPathElement`*"]
22    pub type SvgmPathElement;
23    #[cfg(feature = "SvgAnimatedString")]
24    #[wasm_bindgen(method, getter, js_class = "SVGMPathElement", js_name = "href")]
25    #[doc = "Getter for the `href` field of this object."]
26    #[doc = ""]
27    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement/href)"]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedString`, `SvgmPathElement`*"]
30    pub fn href(this: &SvgmPathElement) -> SvgAnimatedString;
31}