Typedef

BoxSides (engine/view)

@ckeditor/ckeditor5-engine/src/view/stylesmap

typedef
Object

An object describing values associated with the sides of a box, for instance margins, paddings, border widths, border colors, etc.

const margin = {
	top: '1px',
	right: '3px',
	bottom: '3px',
	left: '7px'
};

const borderColor = {
	top: 'red',
	right: 'blue',
	bottom: 'blue',
	left: 'red'
};

Filtering

Properties

  • bottom : String

    Bottom side value.

  • left : String

    Left side value.

  • right : String

    Right side value.

  • top : String

    Top side value.