Table Row
<sl-table-row> | SlTableRow
Member of a table.
See Table component for a full example.
Importing
If you’re using the autoloader or the traditional loader, you can ignore this section. Otherwise, feel free to use any of the following snippets to cherry pick this component.
To import this component from the CDN using a script tag:
<script type="module" src="https://v2-48-10.yoummday-theme.pages.dev/components/table-row/table-row.js"></script>
To import this component from the CDN using a JavaScript import:
import 'https://v2-48-10.yoummday-theme.pages.dev/components/table-row/table-row.js';
To import this component using a bundler:
import '@yoummday/ymmd-shoelace/dist/components/table-row/table-row.js';
To import this component as a React component:
import SlTableRow from '@yoummday/ymmd-shoelace/dist/react/table-row';
Slots
| Name | Description |
|---|---|
| (default) | The default slot. |
Learn more about using slots.
Properties
| Name | Description | Reflects | Type | Default |
|---|---|---|---|---|
selected
|
Draws the row in a selected state. |
|
boolean
|
false
|
variant
|
Draws the row in a variant state. |
|
'primary' | 'success' | 'info' | 'warning' | 'danger' | undefined
|
- |
updateComplete |
A read-only promise that resolves when the component has finished updating. |
Learn more about attributes and properties.