(changes: SimpleChanges<this>)
| 693 | } |
| 694 | |
| 695 | ngOnChanges(changes: SimpleChanges<this>) { |
| 696 | // Updating the disabled state is handled by the input, but we need to additionally let |
| 697 | // the parent form field know to run change detection when the disabled state changes. |
| 698 | if (changes['disabled'] || changes['userAriaDescribedBy']) { |
| 699 | this.stateChanges.next(); |
| 700 | } |
| 701 | |
| 702 | if (changes['typeaheadDebounceInterval'] && this._keyManager) { |
| 703 | this._keyManager.withTypeAhead(this.typeaheadDebounceInterval); |
| 704 | } |
| 705 | |
| 706 | if (changes['panelClass'] && this.panelClass instanceof Set) { |
| 707 | this.panelClass = Array.from(this.panelClass); |
| 708 | } |
| 709 | } |
| 710 | |
| 711 | ngOnDestroy() { |
| 712 | this._cleanupDetach?.(); |
nothing calls this directly
no test coverage detected