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

Function Anchor

static/katex/katex.js:1085–1096  ·  view source on GitHub ↗
(href, classes, children, options)

Source from the content-addressed store, hash-verified

1083/*#__PURE__*/
1084function () {
1085 function Anchor(href, classes, children, options) {
1086 this.children = void 0;
1087 this.attributes = void 0;
1088 this.classes = void 0;
1089 this.height = void 0;
1090 this.depth = void 0;
1091 this.maxFontSize = void 0;
1092 this.style = void 0;
1093 initNode.call(this, classes, options);
1094 this.children = children || [];
1095 this.setAttribute('href', href);
1096 }
1097
1098 var _proto2 = Anchor.prototype;
1099

Callers

nothing calls this directly

Calls 1

setAttributeMethod · 0.45

Tested by

no test coverage detected