()
| 129 | } |
| 130 | |
| 131 | ngOnDestroy() { |
| 132 | this._destroyed.next(); |
| 133 | this._destroyed.complete(); |
| 134 | |
| 135 | if (isDataSource(this._dataSource)) { |
| 136 | this._dataSource.disconnect(this); |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | /** Toggles selection for a given value. `index` is required if `trackBy` is used. */ |
| 141 | toggleSelection(value: T, index?: number) { |
nothing calls this directly
no test coverage detected