()
| 66 | private readonly _destroyed = new Subject<void>(); |
| 67 | |
| 68 | constructor() { |
| 69 | const _selection = this._selection; |
| 70 | |
| 71 | this.checked = _selection.change.pipe( |
| 72 | switchMap(() => observableOf(_selection.isAllSelected())), |
| 73 | ); |
| 74 | |
| 75 | this.indeterminate = _selection.change.pipe( |
| 76 | switchMap(() => observableOf(_selection.isPartialSelected())), |
| 77 | ); |
| 78 | } |
| 79 | |
| 80 | ngOnInit() { |
| 81 | this._assertValidParentSelection(); |
nothing calls this directly
no test coverage detected