Skip to main content

web_sys/features/
gen_SvgfeDistantLightElement.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 = "SVGFEDistantLightElement",
14        typescript_type = "SVGFEDistantLightElement"
15    )]
16    #[derive(Debug, Clone, PartialEq, Eq)]
17    #[doc = "The `SvgfeDistantLightElement` class."]
18    #[doc = ""]
19    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement)"]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `SvgfeDistantLightElement`*"]
22    pub type SvgfeDistantLightElement;
23    #[cfg(feature = "SvgAnimatedNumber")]
24    #[wasm_bindgen(
25        method,
26        getter,
27        js_class = "SVGFEDistantLightElement",
28        js_name = "azimuth"
29    )]
30    #[doc = "Getter for the `azimuth` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement/azimuth)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDistantLightElement`*"]
35    pub fn azimuth(this: &SvgfeDistantLightElement) -> SvgAnimatedNumber;
36    #[cfg(feature = "SvgAnimatedNumber")]
37    #[wasm_bindgen(
38        method,
39        getter,
40        js_class = "SVGFEDistantLightElement",
41        js_name = "elevation"
42    )]
43    #[doc = "Getter for the `elevation` field of this object."]
44    #[doc = ""]
45    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement/elevation)"]
46    #[doc = ""]
47    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumber`, `SvgfeDistantLightElement`*"]
48    pub fn elevation(this: &SvgfeDistantLightElement) -> SvgAnimatedNumber;
49}