Skip to main content

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​

readonly after: string

Defined in: packages/sdvtables/src/html/parts.ts:71

decoration blocks placed after the table element (bottom border bars and legends), or ""


before​

readonly before: string

Defined in: packages/sdvtables/src/html/parts.ts:57

decoration blocks placed before the table element (top border bars and legends), or ""


caption​

readonly caption: string

Defined in: packages/sdvtables/src/html/parts.ts:59

the caption element (title, subtitle), or ""


readonly foot: string

Defined in: packages/sdvtables/src/html/parts.ts:69

the tfoot element (source notes, footnotes), or ""


readonly head: string

Defined in: packages/sdvtables/src/html/parts.ts:63

the <th> cells of the main header row


headRows​

readonly headRows: string

Defined in: packages/sdvtables/src/html/parts.ts:61

header rows above the main one, or "" (no decoration emits any yet)


id​

readonly id: string

Defined in: packages/sdvtables/src/html/parts.ts:47

the table id (tableId(spec)), also the wrapper's id


labels​

readonly labels: 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


readonly link: string

Defined in: packages/sdvtables/src/html/parts.ts:49

the Google Fonts <link>, or ""


rows​

readonly rows: string

Defined in: packages/sdvtables/src/html/parts.ts:67

every body <tr> (group header rows included)


rules​

readonly rules: 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​

readonly sheet: string

Defined in: packages/sdvtables/src/html/parts.ts:53

the shared theme sheet (styleSheet) without the tag, or "" when css === "none"


tableAttrs​

readonly tableAttrs: 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​

readonly wrapperAttrs: 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