@mathjax/src
    Preparing search index...

    Interface ChtmlWrapperClass<N, T, D>

    The type of the ChtmlWrapper class (used when creating the wrapper factory for this class)

    interface ChtmlWrapperClass<N, T, D> {
        new ChtmlWrapperClass(
            factory: ChtmlWrapperFactory,
            node: MmlNode,
            parent?: ChtmlWrapper,
        ): ChtmlWrapper;
        new ChtmlWrapperClass(
            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
    • T
    • D

    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