sempdf v1.9.1Interfaces
Interface: TemplateHeadingBlock
sempdf / TemplateHeadingBlock
Defined in: src/types.ts:1684
Template block for rendering a heading.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
annotations? | readonly | readonly ParagraphTextAnnotation[] | Inline annotations anchored to substrings of the rendered heading text. | src/types.ts:1693 |
class? | readonly | ClassNameInput | Stylesheet class name(s) applied beneath inline options. | src/types.ts:1691 |
keepWithNext? | readonly | boolean | Whether this block should stay on the same page as the following block when possible. | src/types.ts:1695 |
options? | readonly | FlowHeadingOptions | Options that control this item. | src/types.ts:1689 |
text | readonly | string | Text content to render or inspect. | src/types.ts:1687 |
type | readonly | "heading" | - | src/types.ts:1685 |