API reference
Properties
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
| alignment | alignment | Specifies the alignment of the component. | "center" | "end" | "start" | "start" |
| colSpan | col-span | Specifies the number of columns the component should span. | number | |
| messageOverrides | Use this property to override individual strings used by the component. | Record<string, unknown> | ||
| rowSpan | row-span | Specifies the number of rows the component should span. | number |
Slots
| Name | Description |
|---|---|
| default (unnamed) | A slot for adding content, usually text content. |
Styles
| Name | Description |
|---|---|
| --calcite-table-cell-background | --calcite-table-cell-background-color instead. Specifies the component's background color. |
| --calcite-table-cell-background-color | Specifies the component's background color. |
| --calcite-table-cell-border-color | Specifies the component's border color. |
| --calcite-table-cell-text-color | Specifies the component's text color. |
Methods
| Name | Description | Signature |
|---|---|---|
| componentOnReady | Create a promise that resolves once component is fully loaded. | componentOnReady(): Promise<void> |
| setFocus | Sets focus on the component. | setFocus(options?: FocusOptions): Promise<void> |