(child)
| 184 | } |
| 185 | |
| 186 | removeChild(child) { |
| 187 | const index = this.childNodes.indexOf(child); |
| 188 | |
| 189 | if (index > -1) { |
| 190 | this.store && this.store.deregisterNode(child); |
| 191 | child.parent = null; |
| 192 | this.childNodes.splice(index, 1); |
| 193 | } |
| 194 | |
| 195 | this.updateLeafState(); |
| 196 | } |
| 197 | |
| 198 | removeChildByData(data) { |
| 199 | let targetNode = null; |
no test coverage detected