(expansionChanges: SelectionChange<K> | null)
| 441 | } |
| 442 | |
| 443 | private _emitExpansionChanges(expansionChanges: SelectionChange<K> | null) { |
| 444 | if (!expansionChanges) { |
| 445 | return; |
| 446 | } |
| 447 | |
| 448 | const nodes = this._nodes.value; |
| 449 | for (const added of expansionChanges.added) { |
| 450 | const node = nodes.get(added); |
| 451 | node?._emitExpansionState(true); |
| 452 | } |
| 453 | for (const removed of expansionChanges.removed) { |
| 454 | const node = nodes.get(removed); |
| 455 | node?._emitExpansionState(false); |
| 456 | } |
| 457 | } |
| 458 | |
| 459 | private _initializeKeyManager() { |
| 460 | const items = combineLatest([this._keyManagerNodes, this._nodes]).pipe( |
no test coverage detected