Skip to main content

Spacer properties


type: "spacer",
name?: string,
id?: string,

css?: string,
height?: string | number | "content", // "content" by default
hidden?: boolean, // false by default
padding?: string | number, // "8px" by default
width?: string | number | "content", // "content" by default


type(required) the type of a control, set it to "spacer"
name(optional) the name of a control
id(optional) the id of a control, auto-generated if not set
css(optional) adds style classes to a control
height(optional) the height of a control, "content" by default
hidden(optional) defines whether a control is hidden, false by default
padding(optional) sets padding between a cell and a border of the Spacer control, "8px" by default
width(optional) the width of a control, "content" by default


Related article: Spacer