sempdf v1.9.1Interfaces
Interface: TemplateCustomBlock
sempdf / TemplateCustomBlock
Defined in: src/types.ts:2183
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:2188 |
keepWithNext? | readonly | boolean | - | src/types.ts:2189 |
render | readonly | (flow) => number | Renders the block and returns the vertical height consumed. | src/types.ts:2186 |
type | readonly | "custom" | - | src/types.ts:2184 |