Skip to content

computeLayout

computeLayout(containerWidth, containerHeight, options): LayoutResult

Defined in: core/src/layout.ts:24

Page size and orientation for a container. Same arithmetic as the original, so the book lands on the same pixels; layout only overrides the “is the container too narrow” decision.

number

number

LayoutOptions

LayoutResult