MCPcopy Create free account
hub / github.com/TruthHun/BookStack / constructor

Method constructor

static/katex/katex.mjs:887–900  ·  view source on GitHub ↗
(children)

Source from the content-addressed store, hash-verified

885 // HtmlDomNode
886 // Never used; needed for satisfying interface.
887 constructor(children) {
888 this.children = void 0;
889 this.classes = void 0;
890 this.height = void 0;
891 this.depth = void 0;
892 this.maxFontSize = void 0;
893 this.style = void 0;
894 this.children = children;
895 this.classes = [];
896 this.height = 0;
897 this.depth = 0;
898 this.maxFontSize = 0;
899 this.style = {};
900 }
901
902 hasClass(className) {
903 return utils.contains(this.classes, className);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected