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

Method _clearNode

packages/wired-button/wired-button.js:96–100  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

94 }
95
96 _clearNode(node) {
97 while (node.hasChildNodes()) {
98 node.removeChild(node.lastChild);
99 }
100 }
101
102 connectedCallback() {
103 super.connectedCallback();

Callers 1

_didRenderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected