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. | {
keyboardDeselect?: string;
keyboardSelect?: string;
row?: string;
selected?: string;
unselected?: string;
} | ||
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 | Specifies the background color of the component. |
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(): Promise<void> |