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
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:hrefDeprecated attribute 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
Loading…