Returns the smallest bounding rectangle that encompasses this element's padding, scrollbar, and border.
Other resources
-
Element.getBoundingClientRect from MDN.
-
The getBoundingClientRect() method from W3C.
Source
/**
* Returns the smallest bounding rectangle that encompasses this element's
* padding, scrollbar, and border.
*
* ## Other resources
*
* * [Element.getBoundingClientRect]
* (https://developer.mozilla.org/en-US/docs/Web/API/Element.getBoundingClientRect)
* from MDN.
* * [The getBoundingClientRect() method]
* (http://www.w3.org/TR/cssom-view/#the-getclientrects-and-getboundingclientrect-methods)
* from W3C.
*/
@DomName('Element.getBoundingClientRect')
@DocsEditable()
Rectangle getBoundingClientRect() => _blink.BlinkElement.instance.getBoundingClientRect_Callback_0_(this);