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
SVGStringListcorresponding to theviewTargetattribute of the given<view>element. A list ofDOMStringvalues which contain the names listed in theviewTargetattribute. Each of theDOMStringvalues can be associated with the corresponding element using thegetElementById()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 'SVGTitleElement' in that specification. |
Candidate Recommendation | Removed the implemented interfaces SVGLangSpace and SVGStylable. |
| Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of 'SVGTitleElement' in that specification. |
Recommendation | Initial definition |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
| Desktop | Mobile | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SVGViewElement | Chrome Full support Yes | Edge Full support Yes | Firefox ? | IE ? | Opera Full support Yes | Safari ? | WebView Android Full support Yes | Chrome Android Full support Yes | Edge Mobile Full support Yes | Firefox Android ? | Opera Android Full support Yes | Safari iOS ? | Samsung Internet Android ? |
viewtarget | 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 | Edge Mobile ? | Firefox Android No support ? — 61 | Opera Android No support ? — 43 | Safari iOS ? | Samsung Internet Android ? |
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
Document Tags and Contributors
Tags:
Contributors to this page:
mdnwebdocs-bot,
fscholz,
Sebastianz,
jpmedley,
mattwojo,
kscarfone,
Sheppy,
Jeremie
Last updated by:
mdnwebdocs-bot,

