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

Method setAttribute

static/katex/katex.mjs:1131–1133  ·  view source on GitHub ↗
(attribute, value)

Source from the content-addressed store, hash-verified

1129 }
1130
1131 setAttribute(attribute, value) {
1132 this.attributes[attribute] = value;
1133 }
1134
1135 hasClass(className) {
1136 return utils.contains(this.classes, className);

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected