The Wayback Machine - https://web.archive.org/web/20150928031600/https://developer.mozilla.org/zh-TW/docs/Web/API/SVGScriptElement

Join MDN and developers like you at Mozilla's View Source conference, November 2-4 in Portland, Oregon. Learn more at https://viewsourceconf.org/.

SVGScriptElement

由 4 位貢獻者:
Our volunteers haven't translated this article into 正體中文 (繁體) yet. Join us and help get the job done!

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 ? ? ? ?

 

Document Tags and Contributors

Contributors to this page: fscholz, kscarfone, Sheppy, Jeremie
最近更新: fscholz,