Skip to content

zeropdf v1.3.0


zeropdf / TemplateCustomBlock

Interface: TemplateCustomBlock

Defined in: src/types.ts:1778

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:1783
keepWithNext?readonlyboolean-src/types.ts:1784
renderreadonly(flow) => numberRenders the block and returns the vertical height consumed.src/types.ts:1781
typereadonly"custom"-src/types.ts:1779

Released under the ISC license.