SVG view DOM interface
The SVGViewElement
interface provides access to the properties of {{ SVGElement("view") }} elements, as well as methods to manipulate them.
Interface overview
Also implement | {{ domxref("SVGElement") }}, {{ domxref("SVGExternalResourcesRequired") }}, {{ domxref("SVGFitToViewBox") }}, {{ domxref("SVGZoomAndPan") }} |
Methods | None |
Properties | - readonly {{ domxref("SVGStringList") }} viewTarget
|
Normative document | SVG 1.1 (2nd Edition) |
Properties
Name | Type | Description |
viewTarget | {{ domxref("SVGStringList") }} | Corresponds to attribute {{ SVGAttr("viewTarget") }} on the given {{ SVGElement("view") }} element. A list of DOMString values which contain the names listed in the {{ SVGAttr("viewTarget") }} attribute. Each of the DOMString values can be associated with the corresponding element using the getElementById() method call. |
Methods
The SVGViewElement
interface do not provide any specific methods.
Browser compatibility
{{ CompatibilityTable() }}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
Basic support | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
Basic support | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatVersionUnknown() }} | {{ CompatUnknown() }} |
See also
- {{ SVGElement("view") }} SVG Element