The SVGViewElement interface provides access to the properties of <view> elements, as well as methods to manipulate them.


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

SVGViewElement.viewTarget This deprecated API should no longer be used, but will probably still work.
An SVGStringList corresponding to the viewTarget attribute of the given <view> element. A list of DOMString values which contain the names listed in the viewTarget attribute. Each of the DOMString values can be associated with the corresponding element using the getElementById() method call.


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


Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'SVGViewElement' in that specification.
Candidate Recommendation Removed a mixin SVGExternalResourcesRequired
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'SVGViewElement' in that specification.
Recommendation Initial definition

Browser compatibility

BCD tables only load in the browser

See also