Groups a series of toggle buttons together, exposing features such as layout and selection.

Element
igc-button-group
Slots
default — Renders the toggle buttons of the group.
CSS Parts
group — The button group container.

The orientation of the buttons in the group.

alignment: ContentOrientation = 'horizontal'

Defined in src/components/button-group/button-group.ts:109

Disables all buttons inside the group.

disabled: boolean = false

Defined in src/components/button-group/button-group.ts:100

Controls the mode of selection for the button group.

selection: ButtonGroupSelection = 'single'

Defined in src/components/button-group/button-group.ts:118

The tagName read-only property of the Element interface returns the tag name of the element on which it's called.

MDN Reference

tagName: "igc-button-group" = 'igc-button-group'

Defined in src/components/button-group/button-group.ts:49

Gets/Sets the currently selected buttons (their values).

get selectedItems(): string[]

Defined in src/components/button-group/button-group.ts:125

Returns string[]