Skip to content

SizeMode

const SizeMode: object

Defined in: core/src/options.ts:40

How the book sizes itself.

readonly fixed: "fixed" = "fixed"

Pages are exactly width x height CSS pixels.

readonly stretch: "stretch" = "stretch"

Pages scale to the container, keeping the width:height ratio, between minWidth and maxWidth.