MCPcopy Create free account
hub / github.com/rough-stuff/wired-elements / _clearNode

Method _clearNode

packages/wired-input/wired-input.js:140–144  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

138 }
139
140 _clearNode(node) {
141 while (node.hasChildNodes()) {
142 node.removeChild(node.lastChild);
143 }
144 }
145
146 _didRender() {
147 const svg = this.shadowRoot.getElementById('svg');

Callers 1

_didRenderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected