@mathjax/src
    Preparing search index...

    Interface ChtmlMrootClass<N, T, D>

    The ChtmlMrootClass interface for the CHTML Mroot wrapper

    interface ChtmlMrootClass<N, T, D> {
        new ChtmlMrootClass(
            factory: ChtmlWrapperFactory,
            node: MmlNode,
            parent?: ChtmlWrapper,
        ): ChtmlWrapper;
        new ChtmlMrootClass(
            factory: WrapperFactory<
                MmlNode,
                MmlNodeClass,
                ChtmlWrapper<N, T, D>,
                WrapperClass<MmlNode, MmlNodeClass, ChtmlWrapper<N, T, D>>,
            >,
            node: MmlNode,
            ...args: any[],
        ): ChtmlWrapper;
        new ChtmlMrootClass(
            factory: ChtmlWrapperFactory,
            node: MmlNode,
            parent?: ChtmlWrapper,
        ): ChtmlWrapper;
        new ChtmlMrootClass(
            factory: WrapperFactory<
                MmlNode,
                MmlNodeClass,
                ChtmlWrapper<N, T, D>,
                WrapperClass<MmlNode, MmlNodeClass, ChtmlWrapper<N, T, D>>,
            >,
            node: MmlNode,
            ...args: any[],
        ): ChtmlWrapper;
        new ChtmlMrootClass(
            factory: ChtmlWrapperFactory,
            node: MmlNode,
            parent?: ChtmlWrapper,
        ): ChtmlWrapper;
        new ChtmlMrootClass(
            factory: WrapperFactory<
                MmlNode,
                MmlNodeClass,
                ChtmlWrapper<N, T, D>,
                WrapperClass<MmlNode, MmlNodeClass, ChtmlWrapper<N, T, D>>,
            >,
            node: MmlNode,
            ...args: any[],
        ): ChtmlWrapper;
        autoStyle: boolean;
        BOLDVARIANTS: { [name: string]: StringMap };
        ITALICVARIANTS: { [name: string]: StringMap };
        kind: string;
        removeStyles: string[];
        skipAttributes: { [name: string]: boolean };
        styles: StyleJson;
        addStyles<JX>(styles: StyleJsonSheet, jax: JX): void;
    }

    Type Parameters

    • N

      The HTMLElement node class

    • T

      The Text node class

    • D

      The Document class

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    autoStyle: boolean

    If true, this causes a style for the node type to be generated automatically that sets display:inline-block (as needed for the output for MmlNodes).

    BOLDVARIANTS: { [name: string]: StringMap }

    The translation of mathvariant to bold styles, or to remove bold from a mathvariant.

    ITALICVARIANTS: { [name: string]: StringMap }

    The translation of mathvariant to italic styles, or to remove italic from a mathvariant.

    kind: string

    The wrapper kind

    removeStyles: string[]

    Styles that should not be passed on from style attribute

    skipAttributes: { [name: string]: boolean }

    Non-MathML attributes on MathML elements NOT to be copied to the corresponding DOM elements. If set to false, then the attribute WILL be copied. Most of these (like the font attributes) are handled in other ways.

    styles: StyleJson

    Any styles needed for the class

    Methods