* The `childNodes` of the DOM element as a `DebugNode` array. * * @see [Node.childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes)
()
| 290 | * @see [Node.childNodes](https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes) |
| 291 | */ |
| 292 | get childNodes(): DebugNode[] { |
| 293 | const childNodes = this.nativeNode.childNodes; |
| 294 | const children: DebugNode[] = []; |
| 295 | for (let i = 0; i < childNodes.length; i++) { |
| 296 | const element = childNodes[i]; |
| 297 | children.push(getDebugNode(element)!); |
| 298 | } |
| 299 | return children; |
| 300 | } |
| 301 | |
| 302 | /** |
| 303 | * The immediate `DebugElement` children. Walk the tree by descending through `children`. |
nothing calls this directly
no test coverage detected