sempdf
sempdf v1.9.1Interfaces

Interface: TemplateCustomBlock

sempdf v1.9.1


sempdf / TemplateCustomBlock

Defined in: src/types.ts:2183

Template block for user-defined rendering and estimation logic.

Properties

PropertyModifierTypeDescriptionDefined in
estimatereadonly(flow) => numberEstimates the vertical height this block will consume.src/types.ts:2188
keepWithNext?readonlyboolean-src/types.ts:2189
renderreadonly(flow) => numberRenders the block and returns the vertical height consumed.src/types.ts:2186
typereadonly"custom"-src/types.ts:2184

On this page