The igc-button-group groups a series of igc-toggle-buttons together, exposing features such as layout and selection.

Slots
default — Renders `igc-toggle-button` component.
CSS Parts
group — The button group container.

Sets the orientation of the buttons in the group.

alignment: ContentOrientation

Disables all buttons inside the group.

disabled: boolean

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

selectedItems: string[]

Controls the mode of selection for the button group.

selection: ButtonGroupSelection

Emitted when a button is deselected through user interaction.

onDeselect(args: CustomEvent<string>): void

Parameters

Returns void

Emitted when a button is selected through user interaction.

onSelect(args: CustomEvent<string>): void

Parameters

Returns void