MCPcopy Create free account
hub / github.com/monkeytypegame/monkeytype / appendHtml

Method appendHtml

frontend/src/ts/utils/dom.ts:1118–1123  ·  view source on GitHub ↗

* Append HTML string to all elements in the array

(htmlString: string)

Source from the content-addressed store, hash-verified

1116 * Append HTML string to all elements in the array
1117 */
1118 appendHtml(htmlString: string): this {
1119 for (const item of this) {
1120 item.appendHtml(htmlString);
1121 }
1122 return this;
1123 }
1124
1125 override indexOf(element: ElementWithUtils<T>): number {
1126 return this.native.indexOf(element.native);

Callers

nothing calls this directly

Calls 1

appendHtmlMethod · 0.45

Tested by

no test coverage detected