maxcountryman_web_sys/features/
gen_SvgTextPositioningElement.rs

1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6    # [wasm_bindgen (extends = SvgTextContentElement , extends = SvgGraphicsElement , extends = SvgElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = SVGTextPositioningElement , typescript_type = "SVGTextPositioningElement")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `SvgTextPositioningElement` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `SvgTextPositioningElement`*"]
13    pub type SvgTextPositioningElement;
14    #[cfg(feature = "SvgAnimatedLengthList")]
15    # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPositioningElement" , js_name = x)]
16    #[doc = "Getter for the `x` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/x)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*"]
21    pub fn x(this: &SvgTextPositioningElement) -> SvgAnimatedLengthList;
22    #[cfg(feature = "SvgAnimatedLengthList")]
23    # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPositioningElement" , js_name = y)]
24    #[doc = "Getter for the `y` field of this object."]
25    #[doc = ""]
26    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/y)"]
27    #[doc = ""]
28    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*"]
29    pub fn y(this: &SvgTextPositioningElement) -> SvgAnimatedLengthList;
30    #[cfg(feature = "SvgAnimatedLengthList")]
31    # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPositioningElement" , js_name = dx)]
32    #[doc = "Getter for the `dx` field of this object."]
33    #[doc = ""]
34    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/dx)"]
35    #[doc = ""]
36    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*"]
37    pub fn dx(this: &SvgTextPositioningElement) -> SvgAnimatedLengthList;
38    #[cfg(feature = "SvgAnimatedLengthList")]
39    # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPositioningElement" , js_name = dy)]
40    #[doc = "Getter for the `dy` field of this object."]
41    #[doc = ""]
42    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/dy)"]
43    #[doc = ""]
44    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedLengthList`, `SvgTextPositioningElement`*"]
45    pub fn dy(this: &SvgTextPositioningElement) -> SvgAnimatedLengthList;
46    #[cfg(feature = "SvgAnimatedNumberList")]
47    # [wasm_bindgen (structural , method , getter , js_class = "SVGTextPositioningElement" , js_name = rotate)]
48    #[doc = "Getter for the `rotate` field of this object."]
49    #[doc = ""]
50    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPositioningElement/rotate)"]
51    #[doc = ""]
52    #[doc = "*This API requires the following crate features to be activated: `SvgAnimatedNumberList`, `SvgTextPositioningElement`*"]
53    pub fn rotate(this: &SvgTextPositioningElement) -> SvgAnimatedNumberList;
54}