2020-01-30 16:14:25 +02:00
|
|
|
import { TableCell } from "./table-cell";
|
|
|
|
|
|
|
|
export class TableRow {
|
|
|
|
cells: TableCell[] = [];
|
2020-05-15 09:51:45 +03:00
|
|
|
hasNumberings = false;
|
2020-01-30 16:14:25 +02:00
|
|
|
|
|
|
|
addCell(cell: TableCell) {
|
2020-05-15 09:51:45 +03:00
|
|
|
if (cell.hasNumberings) {
|
|
|
|
this.hasNumberings = true;
|
|
|
|
}
|
2020-01-30 16:14:25 +02:00
|
|
|
this.cells.push(cell);
|
|
|
|
this;
|
|
|
|
}
|
|
|
|
}
|