(data)
| 196 | } |
| 197 | |
| 198 | removeChildByData(data) { |
| 199 | let targetNode = null; |
| 200 | this.childNodes.forEach(node => { |
| 201 | if (node.data === data) { |
| 202 | targetNode = node; |
| 203 | } |
| 204 | }); |
| 205 | |
| 206 | if (targetNode) { |
| 207 | this.removeChild(targetNode); |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | expand(callback, expandParent) { |
| 212 | const done = () => { |
no test coverage detected