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
Expand Minimize

rootElement property

Gets the root svg element in the document hierarchy.

Scalable Vector Graphics: Document Structure, Section 5.11.1

Syntax

JavaScript
p = object.rootElement

Property values

Type: Object

The root object of the document object model hierarchy.

Standards information

See also

document

 

 

Show:
© 2014 Microsoft