Gets the bounds of the specified element.
Namespace: MindFusion.Controls
Package: DomUtils.js
JavaScript Copy Code |
---|
function getBounds (element, [parent, [includeScroll]]) |
HTMLElement. The element to check.
HTMLElement. The parent of the element. If supplied, the returned bounds will be relative to the parent element bounds.
Boolean. For internal use.
Rect. The bounding rectangle.