class js.html.ClientRect
Available on jsRepresents a rectangular box. The type of box is specified by the method that returns such an object. It is returned by functions like
Documentation for this class was provided by MDN.
element.getBoundingClientRect
.1.0
11.0
Introduced
Gecko 1.9
Inherits from:
nsISupports
Last changed in Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)
Documentation for this class was provided by MDN.
Instance Fields
var bottom:Float
Y-coordinate, relative to the viewport origin, of the bottom of the rectangle box. Read only.
var left:Float
X-coordinate, relative to the viewport origin, of the left of the rectangle box. Read only.
var right:Float
X-coordinate, relative to the viewport origin, of the right of the rectangle box. Read only.