SVGUseElement
SVG use DOM interface
The SVGUseElement interface corresponds to the <use> element.
Instance properties
This interface also inherits properties from its parent interface, SVGGraphicsElement.
SVGUseElement.hrefRead only-
An
SVGAnimatedStringcorresponding to thehreforxlink:hrefattribute of the given element. SVGUseElement.xRead only-
An
SVGAnimatedLengthcorresponding to thexattribute of the given element. SVGUseElement.yRead only-
An
SVGAnimatedLengthcorresponding to theyattribute of the given element. SVGUseElement.widthRead only-
An
SVGAnimatedLengthcorresponding to thewidthattribute of the given element. SVGUseElement.heightRead only-
An
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 |
Browser compatibility
BCD tables only load in the browser