blockly > utils > style > getBorderBox
utils.style.getBorderBox() function
Gets the computed border widths (on all sides) in pixels Copied from Closure's goog.style.getBorderBox
Signature:
export declare function getBorderBox(element: Element): Rect;
Parameters
Parameter | Type | Description |
---|---|---|
element | Element | The element to get the border widths for. |
Returns:
The computed border widths.