MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / remove

Method remove

frontend/src/ts/utils/dom.ts:440–444  ·  view source on GitHub ↗

* Remove the element from the DOM

()

Source from the content-addressed store, hash-verified

438 * Remove the element from the DOM
439 */
440 remove(): void {
441 if (this.native.parentNode) {
442 this.native.parentNode.removeChild(this.native);
443 }
444 }
445
446 /**
447 * Set multiple style properties on the element.

Callers 15

setMediaQueryDebugLevelFunction · 0.45
ready.tsFile · 0.45
page-controller.tsFile · 0.45
solidPageFunction · 0.45
applyCustomBackgroundFunction · 0.45
removeSelloutFunction · 0.45
removeOnFunction · 0.45
removeResultFunction · 0.45
handleMutationsFunction · 0.45
AnimeGroupFunction · 0.45
updateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected