Functiondojo._getPadExtents

<script src="../../js/dojo.js"></script>
defined in dojo/_base/html.js

Returns object with special values specifically useful for node fitting. * l/t = left/top padding (respectively) * w = the total of the left and right padding * h = the total of the top and bottom padding If 'node' has position, l/t forms the origin for child nodes. The w/h are used for calculating boxes. Normally application code will not need to invoke this directly, and will use the ...box... functions instead.

Usage

function (/*DomNode*/ n, /*Object*/ computedStyle) (view source)
parametertypedescription
nDomNode 
computedStyleObject