Skip to content

@serenity-is/domwise / inMathMLNamespace

Function: inMathMLNamespace()

inMathMLNamespace(fn): ComponentChildren

Defined in: src/in-namespace-uri.ts:73

Executes a children factory within the MathML namespace (http://www.w3.org/1998/Math/MathML). Sugar over inNamespaceURI with MathMLNamespace.

Parameters

fn

() => ComponentChildren

Factory that returns children to create as MathML elements.

Returns

ComponentChildren

The children produced by the factory.