MindFusion.Scheduling for JavaScript Programmer's Guide
DomUtils.getBounds Method
See Also
 






Gets the bounds of the specified element.

Namespace: MindFusion.Controls
Assembly: 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

DomUtils Members
DomUtils Class
MindFusion.Controls Namespace