Interface: RenderedParts
Defined in: packages/sdvtables/src/html/parts.ts:45
One render split into strings: assemble joins them into renderHTML's output; tableHTML is the part that depends on the rows.
Properties
after
readonlyafter:string
Defined in: packages/sdvtables/src/html/parts.ts:71
decoration blocks placed after the table element (bottom border bars and legends), or ""
before
readonlybefore:string
Defined in: packages/sdvtables/src/html/parts.ts:57
decoration blocks placed before the table element (top border bars and legends), or ""
caption
readonlycaption:string
Defined in: packages/sdvtables/src/html/parts.ts:59
the caption element (title, subtitle), or ""
foot
readonlyfoot:string
Defined in: packages/sdvtables/src/html/parts.ts:69
the tfoot element (source notes, footnotes), or ""
head
readonlyhead:string
Defined in: packages/sdvtables/src/html/parts.ts:63
the <th> cells of the main header row
headRows
readonlyheadRows:string
Defined in: packages/sdvtables/src/html/parts.ts:61
header rows above the main one, or "" (no decoration emits any yet)
id
readonlyid:string
Defined in: packages/sdvtables/src/html/parts.ts:47
the table id (tableId(spec)), also the wrapper's id
labels
readonlylabels:ReadonlyMap<string,string>
Defined in: packages/sdvtables/src/html/parts.ts:65
each SHOWN column's header text, unescaped, keyed by column key (a marginalia rename and scaleNote suffix included): the toolbar's filter labels
link
readonlylink:string
Defined in: packages/sdvtables/src/html/parts.ts:49
the Google Fonts <link>, or ""
rows
readonlyrows:string
Defined in: packages/sdvtables/src/html/parts.ts:67
every body <tr> (group header rows included)
rules
readonlyrules:string
Defined in: packages/sdvtables/src/html/parts.ts:55
the decorations' own rules without the tag, or "" — part of the table block, so hydrate re-renders them
sheet
readonlysheet:string
Defined in: packages/sdvtables/src/html/parts.ts:53
the shared theme sheet (styleSheet) without the tag, or "" when css === "none"
tableAttrs
readonlytableAttrs:string
Defined in: packages/sdvtables/src/html/parts.ts:73
the <table> tag's attributes with a leading space (Task 10: the grid role), or ""
wrapperAttrs
readonlywrapperAttrs:Readonly<Record<string,string>>
Defined in: packages/sdvtables/src/html/parts.ts:51
class, id, data-sdvt-theme, data-sdvt-density — UNESCAPED values, in this order