SVGViewElement

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

Properties

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

SVGViewElement.viewTarget
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.

Methods

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

Specifications

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

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
SVGViewElementChrome Full support YesEdge Full support ≤18Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
viewtarget
Deprecated
Chrome No support ? — 56Edge ? Firefox No support ? — 61IE ? Opera No support ? — 43Safari ? WebView Android No support ? — 56Chrome Android No support ? — 56Firefox Android No support ? — 61Opera Android No support ? — 43Safari iOS ? Samsung Internet Android No support ? — 6.0

Legend

Full support
Full support
No support
No support
Compatibility unknown
Compatibility unknown
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.

See also