ClientRect

extern class js.html.ClientRectAvailable in jsRepresents a rectangular box. The type of box is specified by the method that returns such an object. It is returned by functions like 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.
var bottom(default,null) : FloatY-coordinate, relative to the viewport origin, of the bottom of the rectangle box. Read only. var height(default,null) : FloatHeight of the rectangle box (This is identical to bottom minus top). Read only. var left(default,null) : FloatX-coordinate, relative to the viewport origin, of the left of the rectangle box. Read only. var right(default,null) : FloatX-coordinate, relative to the viewport origin, of the right of the rectangle box. Read only. var top(default,null) : FloatY-coordinate, relative to the viewport origin, of the top of the rectangle box. Read only. var width(default,null) : FloatWidth of the rectangle box (This is identical to right minus left). Read only. Requires Gecko 1.9.1
version #18234, modified 2013-05-01 11:56:45 by api
0 comment