SVGUseElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
SVG use DOM interface
TheSVGUseElement interface corresponds to the<use> element.
In this article
Instance properties
This interface also inherits properties from its parent interface,SVGGraphicsElement.
SVGUseElement.hrefRead onlyAn
SVGAnimatedStringcorresponding to thehreforxlink:hrefDeprecated attribute of the given element.SVGUseElement.xRead onlyAn
SVGAnimatedLengthcorresponding to thexattribute of the given element.SVGUseElement.yRead onlyAn
SVGAnimatedLengthcorresponding to theyattribute of the given element.SVGUseElement.widthRead onlyAn
SVGAnimatedLengthcorresponding to thewidthattribute of the given element.SVGUseElement.heightRead onlyAn
SVGAnimatedLengthcorresponding to theheightattribute of the given element.
Instance methods
This interface doesn't implement any specific methods, but inherits methods from its parent interface,SVGGraphicsElement.
Specifications
| Specification |
|---|
| Scalable Vector Graphics (SVG) 2> # InterfaceSVGUseElement> |