borders

Add Visual Format for more information about setting borders.

Specifies the individual line styles for each border of the element, as an array of form [top,left,bottom,right].

Type

Array of Line Style

Example

borders = [StyleConstant.DOUBLE_LINE,StyleConstant.NO_BORDER,StyleConstant.THIN_LINE,StyleConstant.NO_BORDER];

Either syntax below can be used in component script:

borders               // unqualified
Component1.borders    // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.