Skip to main content

Spacer properties

Usage

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

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

Description

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
width(optional) the width of a control, "content" by default

Example

Related article: Spacer