-
Notifications
You must be signed in to change notification settings - Fork 146
/
ContentModelTableCell.ts
32 lines (29 loc) · 1.15 KB
/
ContentModelTableCell.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import type { TableCellMetadataFormat } from '../format/metadata/TableCellMetadataFormat';
import type { ContentModelBlockGroupBase } from './ContentModelBlockGroupBase';
import type { ContentModelBlockWithCache } from '../common/ContentModelBlockWithCache';
import type { ContentModelTableCellFormat } from '../format/ContentModelTableCellFormat';
import type { ContentModelWithDataset } from '../format/ContentModelWithDataset';
import type { ContentModelWithFormat } from '../format/ContentModelWithFormat';
import type { Selectable } from '../common/Selectable';
/**
* Content Model of Table Cell
*/
export interface ContentModelTableCell
extends Selectable,
ContentModelBlockGroupBase<'TableCell'>,
ContentModelWithFormat<ContentModelTableCellFormat>,
ContentModelWithDataset<TableCellMetadataFormat>,
ContentModelBlockWithCache<HTMLTableCellElement> {
/**
* Whether this cell is spanned from left cell
*/
spanLeft: boolean;
/**
* Whether this cell is spanned from above cell
*/
spanAbove: boolean;
/**
* Whether this cell is a table header (TH) element
*/
isHeader?: boolean;
}