MCPcopy Create free account
hub / github.com/KaTeX/KaTeX / getAttribute

Method getAttribute

src/mathMLTree.ts:75–77  ·  view source on GitHub ↗

* Gets an attribute on a MathML node.

(name: string)

Source from the content-addressed store, hash-verified

73 * Gets an attribute on a MathML node.
74 */
75 getAttribute(name: string): string {
76 return this.attributes[name];
77 }
78
79 /**
80 * Converts the math node into a MathML-namespaced DOM element.

Callers 4

isNumberPunctuationFunction · 0.80
buildExpressionFunction · 0.80
404.jsFile · 0.80
index.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected