SVGScriptElement

SVG script interface

The SVGScriptElement interface corresponds to the SVG <script> element.

Interface overview

Also implement SVGElement, SVGURIReference, SVGExternalResourcesRequired
Methods None
Properties
Normative document SVG 1.1 (2nd Edition)

Properties

Name Type Description
type DOMString Corresponds to attribute type on the given element. A DOMException is raised with code NO_MODIFICATION_ALLOWED_ERR on an attempt to change the value of a read only attribut.

Methods

The SVGScriptElement interface do not provide any specific methods.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? ? ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported ? ? ? ?

 

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/svgscriptelement

API NeedsBrowserCompatibility NeedsExample Reference Référence SVG SVG DOM