API reference
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
| alignment | alignment | Specifies the alignment of the component. | Alignment | "start" |
| colSpan | col-span | Specifies the number of columns the component should span. | number | |
| description | description | Specifies a description for the component. Displays below the heading. | string | |
| heading | heading | Specifies the component's heading text. Displays above the description. | string | |
| messageOverrides | Overrides individual strings used by the component. | Record<string, unknown> | undefined | ||
| rowSpan | row-span | Specifies the number of rows the component should span. | number |
Styles
| Name | Description |
|---|---|
| --calcite-table-header-background | --calcite-table-header-background-color property instead. Specifies the component's background color. |
| --calcite-table-header-background-color | Specifies the component's background color. |
| --calcite-table-header-border-color | Specifies the component's border color. |
| --calcite-table-header-heading-text-color | Specifies the component's heading text color. |
| --calcite-table-header-description-text-color | Specifies the component's description text color. |
Methods
| Name | Description | Signature |
|---|---|---|
| componentOnReady | Create a promise that resolves once component is fully loaded. | componentOnReady(): Promise<this> |
| setFocus | Sets focus on the component. | setFocus(options?: FocusOptions): Promise<void> |