@vivliostyle/core
    Preparing search index...

    Class NodeContext

    NodeContext represents a position in the document + layout-related information attached to it. When after=false and offsetInNode=0, the position is inside the element (node), but just before its first child. When offsetInNode>0 it represents offset in the textual content of the node. When after=true it represents position right after the last child of the node. boxOffset is incremented by 1 for any valid node position.

    Implements

    Index

    Constructors

    Properties

    after: boolean = false
    afterIfContinues: Selectors.AfterIfContinues = null
    blockBorderSpacing: number = 0
    boxOffset: number
    breakAfter: string = null
    breakBefore: string = null
    breakPenalty: number
    breakWord: boolean
    captionSide: string = "top"
    clearSide: string = null
    clearSpacer: Node = null
    columnSpan: Val = null
    containingBlockForAbsolute: boolean = false
    direction: string
    display: string = null
    establishesBFC: boolean = false
    firstPseudo: FirstPseudo
    flexContainer: boolean = false
    floatMinWrapBlock: Numeric = null
    floatReference: PageFloats.FloatReference
    floatSide: string = null
    footnotePolicy: Ident = null
    formattingContext: Vtree.FormattingContext
    fragmentIndex: number = 1
    hyphenateCharacter: string
    inheritedProps: { [key: string]: string | number | Val }
    inline: boolean = true
    inlineBorderSpacing: number = 0
    lang: string = null
    nodeShadow: Vtree.ShadowContext = null
    offsetInNode: number = 0
    overflow: boolean = false
    pageType: string
    parent: NodeContext
    pluginProps: { [key: string]: string | number | number[] } = {}
    preprocessedTextContent: Change[] = null
    repeatOnBreak: string = null
    shadowContext: Vtree.ShadowContext
    shadowSibling: NodeContext = null
    shadowType: Vtree.ShadowType
    shared: boolean = false
    sourceNode: Node
    vertical: boolean
    verticalAlign: string = "baseline"
    viewNode: Node = null
    whitespace: Vtree.Whitespace

    Methods