ButtonGroupOptions
Defined in: components/buttonGroup.ts:7
Options for buttonGroup.
Extends
Section titled “Extends”Properties
Section titled “Properties”buttons?
Section titled “buttons?”
optionalbuttons?:ButtonOptions[]
Defined in: components/buttonGroup.ts:12
Declarative list of buttons. Rendered in order. Alternatively (or additionally) draw buttons yourself via ContentOptions.content.
layout?
Section titled “layout?”
optionallayout?:"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.
vertical?
Section titled “vertical?”
optionalvertical?:boolean
Defined in: components/buttonGroup.ts:19
Stack vertically instead of horizontally.
attrs?
Section titled “attrs?”
optionalattrs?:string
Defined in: core.ts:52
Aberdeen attr/style string applied to the widget’s outermost element.
Inherited from
Section titled “Inherited from”content?
Section titled “content?”
optionalcontent?:Slot
Defined in: core.ts:54
Draws the children of this component. A string is rendered as rich text.