Appearance
zeropdf / TemplateHeadingBlock
Interface: TemplateHeadingBlock
Defined in: src/types.ts:1413
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:1422 |
class? | readonly | string | readonly string[] | Stylesheet class name(s) applied beneath inline options. | src/types.ts:1420 |
keepWithNext? | readonly | boolean | Whether this block should stay on the same page as the following block when possible. | src/types.ts:1424 |
options? | readonly | FlowHeadingOptions | Options that control this item. | src/types.ts:1418 |
text | readonly | string | Text content to render or inspect. | src/types.ts:1416 |
type | readonly | "heading" | - | src/types.ts:1414 |