@vivliostyle/core
    Preparing search index...

    Class PageBox<I>Abstract

    Represent an at-rule which creates a page-level CSS box (page-master, partition, and partition-group).

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _scope: LexicalScope
    children: PageBox<PageBoxInstance<any>>[] = []
    classes: string[]
    index: number = 0
    key: string
    name: string
    pageMaster: PageMaster = null
    parent: PageBox
    pseudoName: string
    specified: ElementStyle = {}

    Accessors

    Methods

    • Clone the PageBox.

      Parameters

      • param: { parent?: PageBox; pseudoName?: string }

        parent: The parent of the cloned PageBox. pseudoName: Assign this value as the pseudoName of the cloned PageBox.

      Returns PageBox<I>

    • Clone children with the specified PageBox as their parent.

      Parameters

      Returns void

    • Copy 'specified' properties to another instance.

      Parameters

      • dest: PageBox

        The PageBox into which 'specified' properties are copied

      Returns void