(changes: SimpleChanges<this>)
| 238 | } |
| 239 | |
| 240 | ngOnChanges(changes: SimpleChanges<this>) { |
| 241 | const comparisonChange = changes['comparisonStart'] || changes['comparisonEnd']; |
| 242 | |
| 243 | if (comparisonChange && !comparisonChange.firstChange) { |
| 244 | this._setRanges(this.selected); |
| 245 | } |
| 246 | |
| 247 | if (changes['activeDrag'] && !this.activeDrag) { |
| 248 | this._clearPreview(); |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | ngOnDestroy() { |
| 253 | this._rerenderSubscription.unsubscribe(); |
nothing calls this directly
no test coverage detected