Fieldset properties
Usage
{
type: "fieldset",
name?: string,
id?: string,
hidden?: boolean, // false by default
disabled?: boolean, // false by default
css?: string,
width?: string | number | "content", // "content" by default
height?: string | number | "content", // "content" by default
padding?: string | number,
label?: string,
labelAlignment?: "left" | "right" | "center", // "left" by default
rows?: IBlock,
cols?: IBlock,
align?: "start" | "center" | "end" | "between" | "around" | "evenly" // "start" by default
}
Description
type
- (required) the type of a control, set it to "fieldset"name
- (optional) the name of a controlid
- (optional) the id of a control, auto-generated if not sethidden
- (optional) defines whether a control is hidden, false by defaultdisabled
- (optional) defines whether a control is enabled (false) or disabled (true), false by defaultcss
- (optional) the name of a CSS class(es) applied to the control groupwidth
- (optional) sets the width of the control group, "content" by defaultheight
- (optional) sets the height of the control group, "content" by defaultpadding
- (optional) sets the padding for the content inside the control grouplabel
- (optional) specifies a label for a controllabelAlignment
- (optional) defines the position of the label: "left" | "right" | "center", "left" by defaultrows
- (optional) arranges controls inside the control group verticallycols
- (optional) arranges controls inside the control group horizontallyalign
- (optional) sets the alignment of controls inside the control group, "start" by default
Example
Related article: Fieldset