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.
Parameters
Section titled “Parameters”containerWidth
Section titled “containerWidth”number
containerHeight
Section titled “containerHeight”number