Skip to main content

Master Table Cell

<sl-master-table-cell> | SlMasterTableCell
Since 2.0 hub24

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
(default) The default slot.
example An example slot.

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
sl-event-name Emitted as an example. -

Learn more about events.

Custom Properties

Name Description Default
--example An example CSS custom property.

Learn more about customizing CSS custom properties.

Parts

Name Description
base The component’s base wrapper.

Learn more about customizing CSS parts.

Dependencies

This component automatically imports the following dependencies.

  • <sl-example>