Appearance
zeropdf / TemplateCustomBlock
Interface: TemplateCustomBlock
Defined in: src/types.ts:1778
Template block for user-defined rendering and estimation logic.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
estimate | readonly | (flow) => number | Estimates the vertical height this block will consume. | src/types.ts:1783 |
keepWithNext? | readonly | boolean | - | src/types.ts:1784 |
render | readonly | (flow) => number | Renders the block and returns the vertical height consumed. | src/types.ts:1781 |
type | readonly | "custom" | - | src/types.ts:1779 |