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
This topic has not yet been rated - Rate this topic

nearestViewportElement property

Gets a value that indicates which element established the current viewport.

Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.23Internet Explorer 9

Syntax

JavaScript
p = object.nearestViewportElement

Property values

Type: Object

The element that created the current viewport (typically the nearest ancestor svg element). This parameter is null if the current element is the outermost svg element.

Standards information

See also

SVGClipPathElement
SVGSVGElement
SVGUseElement
SVGCircleElement
SVGEllipseElement
SVGLineElement
SVGRectElement
SVGPolygonElement
SVGPolylineElement
SVGGElement
SVGDefsElement
SVGPathElement
SVGTextElement
SVGImageElement
SVGAElement
SVGSwitchElement

 

 

Build date: 11/21/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.