()
| 969 | } |
| 970 | |
| 971 | ngDoCheck() { |
| 972 | // If users opted into autosizing, do a check every change detection cycle. |
| 973 | if (this._autosize && this._isPushed()) { |
| 974 | // Run outside the NgZone, otherwise the debouncer will throw us into an infinite loop. |
| 975 | this._ngZone.runOutsideAngular(() => this._doCheckSubject.next()); |
| 976 | } |
| 977 | } |
| 978 | |
| 979 | /** |
| 980 | * Subscribes to drawer events in order to set a class on the main container element when the |