MCPcopy
hub / github.com/rrweb-io/rrweb / constructor

Method constructor

packages/rrdom-nodejs/src/document-nodejs.ts:361–367  ·  view source on GitHub ↗
(tagName: string)

Source from the content-addressed store, hash-verified

359 contentWindow: RRWindow = new RRWindow();
360
361 constructor(tagName: string) {
362 super(tagName);
363 const htmlElement = this.contentDocument.createElement('HTML');
364 this.contentDocument.appendChild(htmlElement);
365 htmlElement.appendChild(this.contentDocument.createElement('HEAD'));
366 htmlElement.appendChild(this.contentDocument.createElement('BODY'));
367 }
368}
369
370export class RRText extends BaseRRText {

Callers

nothing calls this directly

Calls 2

createElementMethod · 0.65
appendChildMethod · 0.65

Tested by

no test coverage detected