SVGUseElement

SVG use DOM interface

The SVGUseElement interface corresponds to the <use> element.

EventTarget Node Element SVGElement SVGGraphicsElement SVGUseElement

Properties

This interface also inherits properties from its parent interface, SVGGraphicsElement.

SVGUseElement.href Read only

An SVGAnimatedString corresponding to the href or xlink:href 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.

Methods

This interface doesn't implement any specific methods, but inherits methods from its parent interface, SVGGraphicsElement.

Specifications

Specification
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
# InterfaceSVGUseElement

Browser compatibility

BCD tables only load in the browser

See also