()
| 165 | } |
| 166 | |
| 167 | ngAfterViewInit() { |
| 168 | // Mark the selection list as initialized so that the `multiple` |
| 169 | // binding can no longer be changed. |
| 170 | this._initialized = true; |
| 171 | this._setupRovingTabindex(); |
| 172 | |
| 173 | // These events are bound outside the zone, because they don't change |
| 174 | // any change-detected properties and they can trigger timeouts. |
| 175 | this._ngZone.runOutsideAngular(() => { |
| 176 | this._listenerCleanups = [ |
| 177 | this._renderer.listen(this._element.nativeElement, 'focusin', this._handleFocusin), |
| 178 | this._renderer.listen(this._element.nativeElement, 'focusout', this._handleFocusout), |
| 179 | ]; |
| 180 | }); |
| 181 | |
| 182 | if (this._value) { |
| 183 | this._setOptionsFromValues(this._value); |
| 184 | } |
| 185 | |
| 186 | this._watchForSelectionChange(); |
| 187 | } |
| 188 | |
| 189 | ngOnChanges(changes: SimpleChanges<this>) { |
| 190 | const disabledChanges = changes['disabled']; |
nothing calls this directly
no test coverage detected