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

Method sizingClasses

static/katex/katex.mjs:5031–5037  ·  view source on GitHub ↗

* Return the CSS sizing classes required to switch from enclosing options * `oldOptions` to `this`. Returns an array of classes.

(oldOptions)

Source from the content-addressed store, hash-verified

5029
5030
5031 sizingClasses(oldOptions) {
5032 if (oldOptions.size !== this.size) {
5033 return ["sizing", "reset-size" + oldOptions.size, "size" + this.size];
5034 } else {
5035 return [];
5036 }
5037 }
5038 /**
5039 * Return the CSS sizing classes required to switch to the base size. Like
5040 * `this.havingSize(BASESIZE).sizingClasses(this)`.

Callers 15

buildHTML_buildGroupFunction · 0.80
delimiter_styleWrapFunction · 0.80
genfrac_htmlBuilderFunction · 0.80
sizingGroupFunction · 0.80
katex.jsFile · 0.80
buildGroupFunction · 0.80
styleWrapFunction · 0.80
htmlBuilder$6Function · 0.80
sizingGroupFunction · 0.80
htmlBuilderFunction · 0.80
leFunction · 0.80
DeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected