Skip to main content

QPdfRepeatNode

@quik/pdf


@quik/pdf / QPdfRepeatNode

Interface: QPdfRepeatNode

Defined in: pdf/src/types.ts:248

Repeat node that renders content for each entry in a list.

Extends

Properties

alignment?

optional alignment?: "left" | "center" | "right" | "justify"

Defined in: pdf/src/types.ts:33

Optional alignment.

Inherited from

QPdfNodeBase.alignment


as?

optional as?: string

Defined in: pdf/src/types.ts:260

Item variable name exposed in child context.


content

content: QPdfNode | QPdfNode[]

Defined in: pdf/src/types.ts:268

Content rendered for each item.


empty?

optional empty?: QPdfNode | QPdfNode[]

Defined in: pdf/src/types.ts:272

Optional fallback content when the list is empty.


indexAs?

optional indexAs?: string

Defined in: pdf/src/types.ts:264

Index variable name exposed in child context.


items

items: string | unknown[]

Defined in: pdf/src/types.ts:256

Collection expression or static array.


margin?

optional margin?: [number, number] | [number, number, number, number]

Defined in: pdf/src/types.ts:29

Optional margin for the node.

Inherited from

QPdfNodeBase.margin


pageBreak?

optional pageBreak?: "before" | "after"

Defined in: pdf/src/types.ts:37

Optional page break instruction.

Inherited from

QPdfNodeBase.pageBreak


style?

optional style?: string | string[]

Defined in: pdf/src/types.ts:25

Optional named style defined in the template styles map.

Inherited from

QPdfNodeBase.style


type

type: "repeat"

Defined in: pdf/src/types.ts:252

Type discriminator.