(href, classes, children, options)
| 1116 | |
| 1117 | class Anchor { |
| 1118 | constructor(href, classes, children, options) { |
| 1119 | this.children = void 0; |
| 1120 | this.attributes = void 0; |
| 1121 | this.classes = void 0; |
| 1122 | this.height = void 0; |
| 1123 | this.depth = void 0; |
| 1124 | this.maxFontSize = void 0; |
| 1125 | this.style = void 0; |
| 1126 | initNode.call(this, classes, options); |
| 1127 | this.children = children || []; |
| 1128 | this.setAttribute('href', href); |
| 1129 | } |
| 1130 | |
| 1131 | setAttribute(attribute, value) { |
| 1132 | this.attributes[attribute] = value; |
nothing calls this directly
no test coverage detected