@mathjax/src
    Preparing search index...

    Class AbstractMathDocument<N, T, D>Abstract

    Implements the abstract MathDocument class

    Type Parameters

    • N

      The HTMLElement node class

    • T

      The Text node class

    • D

      The Document class

    Hierarchy (View Summary)

    Implements

    Index
    _actionPromises: Promise<void>[]

    The render action promise list

    _readyPromise: Promise<any>

    Promise for the current typeset or conversion action (used to chain the promise-based calls so they don't overlap).

    adaptor: DOMAdaptor<N, T, D>

    The DOM adaptor for the document

    document: D

    The document managed by this MathDocument

    inputJax: InputJax<N, T, D>[]

    The list of input jax for the document

    math: MathList<N, T, D>

    The list of MathItems for this document

    mmlFactory: MmlFactory

    The MathML node factory for the internal MathML representation

    options: DOCUMENT_OPTIONS<DOM<N, T, D>>

    The actual options for this document (with user-supplied ones merged in)

    outputJax: OutputJax<N, T, D>

    The output jax for the document

    processed: BitField

    The bit-field used to tell what steps have been taken on the document (for retries)

    renderActions: RenderList<N, T, D>

    The list of render actions

    KIND: string = 'MathDocument'

    The type of MathDocument

    OPTIONS: DOCUMENT_OPTIONS<DOM> = options

    The default options for the document

    ProcessBits: typeof BitField = ...

    A bit-field for the actions that have been processed

    • Produce an error using MmlNodes

      Parameters

      • math: MathItem<N, T, D>

        The MathItem producing the error

      • err: Error

        The Error object for the error

      Returns void

    • If any were added to the recompile list, compile them again

      Parameters

      • action: boolean

        True when called as a renderAction

      • recompile: MathItem<N, T, D>[]

        Array of MathItems to be rerendered (e.g., with forward references)

      • i: number = 0

        The entry in the recompile list to start at

      Returns void | Promise<void>

      A promise for restarting, otherwise void