NEWCKEditor 5 Long-term Support is here! Find out more
Sign up (with export icon)

BoxStyleSides

Api-typedef icon typedef

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'
};
Copy code

Properties

  • Chevron-right icon

    bottom : undefined | string

    Bottom side value.

  • Chevron-right icon

    left : undefined | string

    Left side value.

  • Chevron-right icon

    right : undefined | string

    Right side value.

  • Chevron-right icon

    top : undefined | string

    Top side value.