()
| 644 | } |
| 645 | |
| 646 | _onResize(): void { |
| 647 | if (!this._hasViewInitialized) { |
| 648 | return; |
| 649 | } |
| 650 | |
| 651 | this._updateDimensions(); |
| 652 | if (this._isRange) { |
| 653 | const eInput = this._getInput(_MatThumb.END) as _MatSliderRangeThumb; |
| 654 | const sInput = this._getInput(_MatThumb.START) as _MatSliderRangeThumb; |
| 655 | |
| 656 | eInput._updateThumbUIByValue(); |
| 657 | sInput._updateThumbUIByValue(); |
| 658 | |
| 659 | eInput._updateStaticStyles(); |
| 660 | sInput._updateStaticStyles(); |
| 661 | |
| 662 | eInput._updateMinMax(); |
| 663 | sInput._updateMinMax(); |
| 664 | |
| 665 | eInput._updateWidthInactive(); |
| 666 | sInput._updateWidthInactive(); |
| 667 | } else { |
| 668 | const eInput = this._getInput(_MatThumb.END); |
| 669 | if (eInput) { |
| 670 | eInput._updateThumbUIByValue(); |
| 671 | } |
| 672 | } |
| 673 | |
| 674 | this._updateTickMarkUI(); |
| 675 | this._updateTickMarkTrackUI(); |
| 676 | this._cdr.detectChanges(); |
| 677 | } |
| 678 | |
| 679 | /** Whether or not the slider thumbs overlap. */ |
| 680 | private _thumbsOverlap: boolean = false; |
no test coverage detected