MCPcopy Index your code
hub / github.com/angular/components / _updateTrackUI

Method _updateTrackUI

src/material/slider/slider.ts:814–822  ·  view source on GitHub ↗

Updates the scale on the active portion of the track.

(source: _MatSliderThumb)

Source from the content-addressed store, hash-verified

812
813 /** Updates the scale on the active portion of the track. */
814 _updateTrackUI(source: _MatSliderThumb): void {
815 if (this._skipUpdate()) {
816 return;
817 }
818
819 this._isRange
820 ? this._updateTrackUIRange(source as _MatSliderRangeThumb)
821 : this._updateTrackUINonRange(source as _MatSliderThumb);
822 }
823
824 private _updateTrackUIRange(source: _MatSliderRangeThumb): void {
825 const sibling = source.getSibling();

Callers 5

_updateMinNonRangeMethod · 0.95
_updateMaxNonRangeMethod · 0.95
ngAfterViewInitMethod · 0.95
_onTranslateXChangeMethod · 0.95
_onFocusMethod · 0.80

Calls 3

_skipUpdateMethod · 0.95
_updateTrackUIRangeMethod · 0.95

Tested by

no test coverage detected