Overview
Action Group organizes and groups Actions housed in an Action Bar or Action Pad.
API reference
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
| columns | columns | Specifies the number of columns. | Columns | undefined | |
| expanded | expanded | When | boolean | false |
| label | label | Specifies an accessible label for the component. | string | undefined | |
| menuFlipPlacements | Specifies the component's fallback | FlipPlacement[] | undefined | ||
| menuOpen | menu-open | When | boolean | false |
| menuPlacement | menu-placement | Specifies the position of the action menu. | LogicalPlacement | undefined | |
| messageOverrides | Overrides individual strings used by the component. | Record<string, unknown> | undefined | ||
| overflowActionsDisabled | overflow-actions-disabled | When | boolean | false |
| overlayPositioning | overlay-positioning | Specifies the type of positioning to use for overlaid content, where:
| OverlayPositioning | "absolute" |
| scale | scale | Specifies the size of the | Scale | "m" |
| selectedActions | Specifies the active actions in the group. | Action[] | ||
| selectionMode | selection-mode | Specifies the selection mode of the component, where:
| Extract<"single" | "single-persist" | "multiple" | "none", SelectionMode> | "none" |
| topLayerDisabled | top-layer-disabled | When Only set this if you need complex z-index control or if top layer placement causes conflicts with third-party components. | boolean | false |
Slots
| Name | Description |
|---|---|
| default (unnamed) | A slot for adding |
| menu-actions | A slot for adding an overflow menu with |
| menu-tooltip | A slot for adding a |
Styles
| Name | Description |
|---|---|
| --calcite-action-background-color | Specifies the component's background color. |
| --calcite-action-group-border-color | Specifies the component's border color when used in a |
| --calcite-action-group-columns | When |
| --calcite-action-group-gap | When |
Events
| Name | Description | Behavior |
|---|---|---|
| calciteActionGroupChange | Fires after an action's active state changes. | |
| calciteActionGroupCollapse | Fires when the component's content area is collapsed. | |
| calciteActionGroupExpand | Fires when the component's content area is expanded. |
Methods
| Name | Description | Signature |
|---|---|---|
| componentOnReady | Creates a promise that resolves once the component is fully loaded. | componentOnReady(): Promise<this> |
| setFocus | Sets focus on the component's first focusable element. | setFocus(options?: FocusOptions): Promise<void> |