* Perform Depth-First-Search walk on the tree and run a callback on each node * @public * @param callback function to execute on each node of the tree with 3 arguments: the node, the level and the index
(callback: WalkCallback)
| 497 | * @param callback function to execute on each node of the tree with 3 arguments: the node, the level and the index |
| 498 | */ |
| 499 | walk(callback: WalkCallback): void { |
| 500 | walkTree(this, 1, callback); |
| 501 | } |
| 502 | |
| 503 | _getItems(): Array<HTMLElement> { |
| 504 | const allLiNodesTraversed: Array<HTMLElement> = []; |
no test coverage detected