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])
Click to show internal directories.
Click to hide internal directories.