contentScriptType
a
b
c
cx
cy
d
dx
dy
e
f
fx
fy
id
in1
in2
k1
k2
k3
k4
r1
r2
x
x1
x2
y
y1
y2
z
TOC
Collapse the table of content
Expand the table of content

contentScriptType attribute | contentScriptType property

Gets the default scripting language of the current document fragment.

Scalable Vector Graphics: Document Structure, Section 5.11.2

 

Syntax

HTML
<element contentScriptType="p" ... >

 

JavaScript
p = object.contentScriptType

 

Property values

Type: String

The default scripting language that is used to process the value strings in event attributes. This language is used for all instances of script that do not specify their own scripting language.

Test

Exceptions

ExceptionCondition
NoModificationAllowedError

An attempt is made to modify an object that cannot be changed. For versions earlier than a Windows Store app using JavaScript, NO_MODIFICATION_ALLOWED_ERR is returned.

 

Standards information

Remarks

Do not set the contentScriptType property. If you try to set this property, it causes an error. The set of valid language types is defined by RFC4329: Scripting Media Types.

See also

SVGSVGElement

 

 

Show:
© 2016 Microsoft