Updates the translateX of the given thumb.
(source: _MatSliderThumb)
| 721 | |
| 722 | /** Updates the translateX of the given thumb. */ |
| 723 | _updateThumbUI(source: _MatSliderThumb) { |
| 724 | if (this._skipUpdate()) { |
| 725 | return; |
| 726 | } |
| 727 | const thumb = this._getThumb( |
| 728 | source.thumbPosition === _MatThumb.END ? _MatThumb.END : _MatThumb.START, |
| 729 | )!; |
| 730 | thumb._hostElement.style.transform = `translateX(${source.translateX}px)`; |
| 731 | } |
| 732 | |
| 733 | // Value indicator text update conditions |
| 734 | // |
no test coverage detected