Search
DomUtils.getBounds Method
See Also
 





Gets the bounds of the specified element.

Namespace: MindFusion.Controls
File: DomUtils.js

 Syntax

JavaScript  Copy Code

function getBounds (element, [parent, [includeScroll]])

 Parameters

element

HTMLElement. The element to check.

parent
Optional.

HTMLElement. The parent of the element. If supplied, the returned bounds will be relative to the parent element bounds.

includeScroll
Optional.

Boolean. For internal use.

 Return Value

Rect. The bounding rectangle.

 See Also