utils/dom/getborderwidths
module
Interfaces
module:utils/dom/getborderwidths~BorderWidths
Functions
getBorderWidths( element ) → BorderWidthsmodule:utils/dom/getborderwidths~getBorderWidthsReturns an object containing CSS border widths of a specified HTML element.
Parameters
element : HTMLElementAn element which has CSS borders.
Returns
BorderWidthsAn object containing
top,left,rightandbottomproperties with numerical values of theborder-[top,left,right,bottom]-widthCSS styles.