* @class * * ### Overview * * The `ui5-table-row` component represents a row in the `ui5-table`. * * ### ES6 Module Import * * `import "@ui5/webcomponents/dist/TableRow.js";` * * @constructor * @extends TableRowBase * @since 2.0.0 * @public
| 32 | * @public |
| 33 | */ |
| 34 | @customElement({ |
| 35 | tag: "ui5-table-row", |
| 36 | styles: [TableRowBase.styles, TableRowCss], |
| 37 | template: TableRowTemplate, |
| 38 | }) |
| 39 | class TableRow extends TableRowBase<TableCell> { |
| 40 | /** |
| 41 | * Defines the cells of the component. |
| 42 | * |
| 43 | * **Note:** Use `ui5-table-cell` for the intended design. |
| 44 | * |
| 45 | * @public |
| 46 | */ |
| 47 | @slot({ |
| 48 | type: HTMLElement, |
| 49 | "default": true, |
| 50 | individualSlots: true, |
| 51 | invalidateOnChildChange: { |
| 52 | properties: ["merged", "_popin", "_popinHidden"], |
| 53 | slots: false, |
| 54 | }, |
| 55 | }) |
| 56 | cells!: DefaultSlot<TableCell>; |
| 57 | |
| 58 | /** |
| 59 | * Defines the actions of the component. |
| 60 | * |
| 61 | * **Note:** Use `ui5-table-row-action` or `ui5-table-row-action-navigation` for the intended design. |
| 62 | * |
| 63 | * @since 2.7.0 |
| 64 | * @public |
| 65 | */ |
| 66 | @slot({ |
| 67 | type: HTMLElement, |
| 68 | individualSlots: true, |
| 69 | }) |
| 70 | actions!: Slot<TableRowActionBase>; |
| 71 | |
| 72 | /** |
| 73 | * Unique identifier of the row. |
| 74 | * |
| 75 | * **Note:** For selection features to work properly, this property is mandatory, and its value must not contain spaces. |
| 76 | * |
| 77 | * @default undefined |
| 78 | * @public |
| 79 | */ |
| 80 | @property() |
| 81 | rowKey?: string; |
| 82 | |
| 83 | /** |
| 84 | * Defines the 0-based position of the row related to the total number of rows within the table when the `ui5-table-virtualizer` feature is used. |
| 85 | * |
| 86 | * @default undefined |
| 87 | * @since 2.5.0 |
| 88 | * @public |
| 89 | */ |
| 90 | @property({ type: Number }) |
| 91 | position?: number; |
nothing calls this directly
no test coverage detected
searching dependent graphs…