Skip to content

ButtonGroupOptions

Defined in: components/buttonGroup.ts:7

Options for buttonGroup.

optional buttons?: ButtonOptions[]

Defined in: components/buttonGroup.ts:12

Declarative list of buttons. Rendered in order. Alternatively (or additionally) draw buttons yourself via ContentOptions.content.


optional layout?: "attached" | "spaced"

Defined in: components/buttonGroup.ts:17

"attached" (default) joins the buttons into a single segmented control with shared borders; "spaced" lays them out with a normal gap.


optional vertical?: boolean

Defined in: components/buttonGroup.ts:19

Stack vertically instead of horizontally.


optional attrs?: string

Defined in: core.ts:52

Aberdeen attr/style string applied to the widget’s outermost element.

ContentOptions.attrs


optional content?: Slot

Defined in: core.ts:54

Draws the children of this component. A string is rendered as rich text.

ContentOptions.content