HTML Flip Book - v0.0.0-alpha.36
    Preparing search index...

    Interface CoverConfig

    Configuration for book covers.

    interface CoverConfig {
        backInteriorCoverClassName?: string;
        coverIndices?: number[] | "auto";
        coverInset?: string;
        frontInteriorCoverClassName?: string;
        hardCovers?: boolean;
        interiorCoverClassName?: string;
        noShadow?: boolean;
    }
    Index

    Properties

    backInteriorCoverClassName?: string

    Override interiorCoverClassName for the back cover interior specifically.

    coverIndices?: number[] | "auto"

    Page indices that are considered cover pages. Default: [0] (front cover only). Use [0, totalPages-1] for front and back covers. If "auto", uses first and last pages as covers.

    coverInset?: string

    Inset size for the interior endpaper frame. Any valid CSS length (e.g. "5%", "12px"). Default: "5%".

    frontInteriorCoverClassName?: string

    Override interiorCoverClassName for the front cover interior specifically.

    hardCovers?: boolean

    Make covers "hard" - no page curl effect on covers. When true, cover pages appear flat without the soft page bend. Default: false

    interiorCoverClassName?: string

    CSS class applied to interior sides of cover leaves (the endpaper). Sets the page background to the cover color; the white endpaper inset is created automatically by the infrastructure.

    noShadow?: boolean

    Disable shadow effects on cover pages. Default: false