BorderWidth

[ Interface ]

export interface BorderWidth {
    left: number;
    leftUnit?: 'px';
    top: number;
    topUnit?: 'px';
    right: number;
    rightUnit?: 'px';
    bottom: number;
    bottomUnit?: 'px';
}

Properties

Name

Type

Description

left

number

Numerical value that is applicable on the left side.

leftUnit

'px'

Only pixels are possible as unit.

top

number

Numerical value that is applicable on the top side.

topUnit

'px'

Only pixels are possible as unit.

right

number

Numerical value that is applicable on the right side.

rightUnit

'px'

Only pixels are possible as unit.

bottom

number

Numerical value that is applicable on the bottom side.

bottomUnit

'px'

Only pixels are possible as unit.

BorderWidth 1:

Available from 1.8