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.
Properties
Section titled "Properties"alignment
Section titled "alignment"Sets the orientation of the buttons in the group.
alignment: ContentOrientation disabled
Section titled "disabled"Disables all buttons inside the group.
disabled: boolean selectedItems
Section titled "selectedItems"Gets/Sets the currently selected buttons (their values).
selectedItems: string[] selection
Section titled "selection"Controls the mode of selection for the button group.
selection: ButtonGroupSelection Events
Section titled "Events"onDeselect
Section titled "onDeselect"Emitted when a button is deselected through user interaction.
onDeselect(args: CustomEvent<string>): void Parameters
- args:
CustomEvent<string>
Returns void
onSelect
Section titled "onSelect"Emitted when a button is selected through user interaction.
onSelect(args: CustomEvent<string>): void Parameters
- args:
CustomEvent<string>