Toggles whether the drawer is currently animating.
(isAnimating: boolean)
| 625 | |
| 626 | /** Toggles whether the drawer is currently animating. */ |
| 627 | private _setIsAnimating(isAnimating: boolean) { |
| 628 | this._elementRef.nativeElement.classList.toggle('mat-drawer-animating', isAnimating); |
| 629 | } |
| 630 | |
| 631 | _getWidth(): number { |
| 632 | return this._elementRef.nativeElement.offsetWidth || 0; |