@mathjax/src
    Preparing search index...

    Variable mathjaxConst

    mathjax: {
        asyncIsSynchronous: boolean;
        asyncLoad: (file: string) => any;
        context: {
            document: Document;
            os: string;
            window: Window & typeof globalThis;
        };
        document: (
            document: any,
            options: OptionList,
        ) => MathDocument<any, any, any>;
        handleRetriesFor: (code: () => any) => Promise<any>;
        handlers: HandlerList<any, any, any>;
        retryAfter: (promise: Promise<any>) => void;
        version: string;
    } = ...

    The main MathJax global object

    Type declaration

    • asyncIsSynchronous: boolean

      When asyncLoad uses require(), it actually operates synchronously and this is true

    • asyncLoad: (file: string) => any

      A function for loading external files (can be changed for node/browser use)

    • context: { document: Document; os: string; window: Window & typeof globalThis }

      The browser context (window and document values)

    • document: (document: any, options: OptionList) => MathDocument<any, any, any>

      Creates a MathDocument using a registered handler that knows how to handl it

    • handleRetriesFor: (code: () => any) => Promise<any>

      The functions for handling retries if a file must be loaded dynamically

    • handlers: HandlerList<any, any, any>

      The list of registers document handlers

    • retryAfter: (promise: Promise<any>) => void
    • version: string

      The MathJax version number