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

Function insertBefore

packages/rrdom/src/document.ts:180–184  ·  view source on GitHub ↗
(_newChild: IRRNode, _refChild: IRRNode | null)

Source from the content-addressed store, hash-verified

178
179 // eslint-disable-next-line @typescript-eslint/no-unused-vars
180 public insertBefore(_newChild: IRRNode, _refChild: IRRNode | null): IRRNode {
181 throw new Error(
182 `RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.`,
183 );
184 }
185
186 // eslint-disable-next-line @typescript-eslint/no-unused-vars
187 public removeChild(_node: IRRNode): IRRNode {

Callers 2

insertBeforeMethod · 0.85
insertBeforeMethod · 0.85

Calls 2

appendChildFunction · 0.85
removeChildMethod · 0.65

Tested by

no test coverage detected