BoxStyleSides
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
-
bottom : undefined | stringmodule:engine/view/stylesmap~BoxStyleSides#bottomBottom side value.
-
left : undefined | stringmodule:engine/view/stylesmap~BoxStyleSides#leftLeft side value.
-
right : undefined | stringmodule:engine/view/stylesmap~BoxStyleSides#rightRight side value.
-
top : undefined | stringmodule:engine/view/stylesmap~BoxStyleSides#topTop side value.