mathml

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mathml implements (part of) the MathML-Core web API

Generally, package names represent web API names, which are reflected by file names in the webref sources. MathML deviates from the standard.

- MDN doesn't have a specific "MathML" API entry, only element documentation - webref has a "mathml-core" spec, and the hyphen is not a good package name

Thus, the go package was named "mathml"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bootstrap

func Bootstrap[T any](reg js.ClassBuilder[T])

Types

type MathMLElement

type MathMLElement[T any] struct {
	// contains filtered or unexported fields
}

func NewMathMLElement

func NewMathMLElement[T any](scriptHost js.ScriptEngine[T]) *MathMLElement[T]

func (MathMLElement[T]) Constructor

func (w MathMLElement[T]) Constructor(cbCtx js.CallbackContext[T]) (js.Value[T], error)

func (MathMLElement[T]) Initialize

func (wrapper MathMLElement[T]) Initialize(jsClass js.Class[T])

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL