utils/dom/getborderwidths
@ckeditor/ckeditor5-utils/src/dom/getborderwidths
module
Filtering
Functions
-
getBorderWidths( element ) → Object
Returns an object containing CSS border widths of a specified HTML element.
Parameters
element : HTMLElement
An element which has CSS borders.
Returns
Object
An object containing
top
,left
,right
andbottom
properties with numerical values of theborder-[top,left,right,bottom]-width
CSS styles.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.