Web/API/SVGViewElement

From Get docs


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) 2The 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

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
SVGViewElement Chrome

Full support Yes

Edge

Full support ≤18

Firefox

Full support Yes

IE

?

Opera

Full support Yes

Safari

Full support Yes

WebView Android

Full support Yes

Chrome Android

Full support Yes

Firefox Android

Full support Yes

Opera Android

Full support Yes

Safari iOS

Full support Yes

Samsung Internet Android

Full support Yes

viewtarget

Deprecated'

Chrome

No support ? — 56

Edge

?

Firefox

No support ? — 61

IE

?

Opera

No support ? — 43

Safari

?

WebView Android

No support ? — 56

Chrome Android

No support ? — 56

Firefox Android

No support ? — 61

Opera Android

No support ? — 43

Safari 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