sempdf v1.9.1Interfaces
Interface: TemplateTocBlock
sempdf / TemplateTocBlock
Defined in: src/types.ts:2043
Template block that renders a table of contents from the document's
top-level heading blocks. Entries are collected from the surrounding
template's headings (up to maxLevel); page numbers and links are resolved
after the whole document has been laid out, so a TOC may appear before the
content it references.
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
options? | readonly | TemplateTocOptions | src/types.ts:2045 |
type | readonly | "toc" | src/types.ts:2044 |