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

Function Span

static/katex/katex.js:1038–1049  ·  view source on GitHub ↗
(classes, children, options, style)

Source from the content-addressed store, hash-verified

1036/*#__PURE__*/
1037function () {
1038 function Span(classes, children, options, style) {
1039 this.children = void 0;
1040 this.attributes = void 0;
1041 this.classes = void 0;
1042 this.height = void 0;
1043 this.depth = void 0;
1044 this.width = void 0;
1045 this.maxFontSize = void 0;
1046 this.style = void 0;
1047 initNode.call(this, classes, options, style);
1048 this.children = children || [];
1049 }
1050 /**
1051 * Sets an arbitrary attribute on the span. Warning: use this wisely. Not
1052 * all browsers support attributes the same, and having too many custom

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected