MCPcopy Create free account
hub / github.com/nodejs/node / removeAllChildren

Method removeAllChildren

deps/v8/tools/js/web-api-helper.mjs:271–275  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

269 }
270
271 static removeAllChildren(node) {
272 let range = document.createRange();
273 range.selectNodeContents(node);
274 range.deleteContents();
275 }
276
277 static defineCustomElement(
278 path, nameOrGenerator, maybeGenerator = undefined) {

Callers 5

_updateMethod · 0.80
expandMethod · 0.80
_addMoreRowsMethod · 0.80
_updateMethod · 0.80
_updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected