The SVGUseElement
interface corresponds to the <use>
element.
The SVGUseElement
interface corresponds to the <use>
element.
This interface also inherits properties from its parent interface, SVGGraphicsElement
.
SVGUseElement.href
Read only
An SVGAnimatedString
corresponding to the href
or xlink:href
Deprecated attribute of the given element.
SVGUseElement.x
Read only
An SVGAnimatedLength
corresponding to the x
attribute of the given element.
SVGUseElement.y
Read only
An SVGAnimatedLength
corresponding to the y
attribute of the given element.
SVGUseElement.width
Read only
An SVGAnimatedLength
corresponding to the width
attribute of the given element.
SVGUseElement.height
Read only
An SVGAnimatedLength
corresponding to the height
attribute of the given element.
This interface doesn't implement any specific methods, but inherits methods from its parent interface, SVGGraphicsElement
.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
SVGUseElement |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 3 | 18 | 4 | ≤12.1 | 1 | 1.0 |
height |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 4.4 | 18 | 4 | ≤12.1 | 1 | 1.0 |
href |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 3 | 18 | 4 | ≤12.1 | 1 | 1.0 |
width |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 4.4 | 18 | 4 | ≤12.1 | 1 | 1.0 |
x |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 4.4 | 18 | 4 | ≤12.1 | 1 | 1.0 |
y |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 4.4 | 18 | 4 | ≤12.1 | 1 | 1.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement