Skip to main content

Master Table Cell

<sl-master-table-cell> | SlMasterTableCell
Since 1.0 stable

Master table cell used for table components

<table>
  <tbody>
  <tr><sl-master-table-cell text="Text" description="Description" border="bottom"></sl-master-table-cell></tr>
  </tbody>
</table>

Examples

<table>
  <tbody>
  <tr><td is="master-table-cell" text="Text" description="Description"></td></tr>
  </tbody>
</table>

Slots

Name Description
prefix The prefix is displayed prior to table cell content.
suffix The suffix is displayed after the table cell content.

Learn more about using slots.

Properties

Name Description Reflects Type Default
size The size of the cell. 'compact' | 'default' 'default'
updateComplete A read-only promise that resolves when the component has finished updating.

Learn more about attributes and properties.

Events

Name React Event Description Event Detail
select When a cell is selected. -

Learn more about events.

Parts

Name Description
base The component’s base wrapper.

Learn more about customizing CSS parts.