dojo.coords
<script src="../../js/dojo.js"></script>
defined in dojo/_base/html.js
Returns an object that measures margin box width/height and
absolute positioning data from dojo._abs().
Return value will be in the form:
{ l: 50, t: 200, w: 300: h: 150, x: 100, y: 300 }
Does not act as a setter. If includeScroll is passed, the x and
y params are affected as one would expect in dojo._abs().
parameter | type | description |
---|---|---|
node | DomNode|String | |
includeScroll | Boolean | Optional. |