Toggles a subtree rooted at `node` recursively.
(dataNode: T)
| 70 | |
| 71 | /** Toggles a subtree rooted at `node` recursively. */ |
| 72 | toggleDescendants(dataNode: T): void { |
| 73 | this.expansionModel.isSelected(this._trackByValue(dataNode)) |
| 74 | ? this.collapseDescendants(dataNode) |
| 75 | : this.expandDescendants(dataNode); |
| 76 | } |
| 77 | |
| 78 | /** Collapse all dataNodes in the tree. */ |
| 79 | collapseAll(): void { |
nothing calls this directly
no test coverage detected
searching dependent graphs…