Block Group provides organization and functionality to multiple Block components.
Overview
Usage
- Contain related Block components, most often within a Panel
- Support dragworkflows for BlocksEnabled 
Sample
API reference
Properties
| Property | Attribute | Description | Type | Default | 
|---|---|---|---|---|
| canPull | When provided, the method will be called to determine whether the element can move from the component. | (detail: BlockDragDetail) => boolean | "clone" | ||
| canPut | When provided, the method will be called to determine whether the element can be added from another component. | (detail: BlockDragDetail) => boolean | ||
| disabled | disabled | When true, interaction is prevented and the component is displayed with lower opacity. | boolean | false | 
| dragEnabled | drag-enabled | When true,calcite-blocks are sortable via a draggable button. | boolean | false | 
| group | group | The block-group's group identifier. To drag elements from one group into another, both groups must have the same group value. | string | |
| label | label | Specifies an accessible name for the component.
When dragEnabledistrueand multiple group sorting is enabled withgroup, specifies the component's name for dragging between groups. | string | |
| loading | loading | When true, a busy indicator is displayed. | boolean | false | 
| scale | scale | Specifies the size of the component. | "l" | "m" | "s" | "m" | 
| sortDisabled | sort-disabled | When true, and agroupis defined,calcite-blocks are no longer sortable. | boolean | false | 
Slots
| Name | Description | 
|---|---|
| default (unnamed) | A slot for adding calcite-blockelements. | 
Events
| Name | Description | Behavior | 
|---|---|---|
| calciteBlockGroupDragEnd | Fires when the component's dragging has ended. | |
| calciteBlockGroupDragStart | Fires when the component's dragging has started. | |
| calciteBlockGroupMoveHalt | ||
| calciteBlockGroupOrderChange | Fires when the component's item order changes. | 
Methods
| Name | Description | Signature | 
|---|---|---|
| componentOnReady | Create a promise that resolves once component is fully loaded. | componentOnReady(): Promise<void> | 
| setFocus | Sets focus on the component's first focusable element. | setFocus(options?: FocusOptions): Promise<void> |