Perseus
    Preparing search index...
    • Creates a new MathField instance within the given container.

      An optional configuration callback can be provided to customize the created MathField. A default configuration is passed to this callback which can then be adjusted as needed. The configuration returned from this callback is used to create the MathField. This allows callers to do minimal configuration as only configs that vary from the default need to be provided.

      Parameters

      • container: HTMLDivElement | HTMLSpanElement
      • locale: string
      • strings: MathInputStrings
      • OptionalconfigCallback: (baseConfig: Config) => Config

      Returns MathFieldInterface