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

  • Renders igc-toggle-button component.

group - The button group container.

Callable

  • Returns ReactNode

Events

onDeselect: (args: CustomEvent<string>) => void

Emitted when a button is deselected through user interaction.

Type declaration

onSelect: (args: CustomEvent<string>) => void

Emitted when a button is selected through user interaction.

Type declaration

Properties

Sets the orientation of the buttons in the group.

disabled: boolean

Disables all buttons inside the group.

selectedItems: string[]

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

Controls the mode of selection for the button group.