SVG script interface
The SVGScriptElement
interface corresponds to the SVG {{ SVGElement("script") }} element.
Interface overview
Also implement | {{ domxref("SVGElement") }}, {{ domxref("SVGURIReference") }}, {{ domxref("SVGExternalResourcesRequired") }} |
Methods | None |
Properties | - {{ domxref("DOMString") }}
type |
Normative document | SVG 1.1 (2nd Edition) |
Properties
Name | Type | Description |
type | {{ domxref("DOMString") }} | Corresponds to attribute {{ SVGAttr("type") }} on the given element. A {{ domxref("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
{{ 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 | {{ CompatNo() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} |