MCPcopy Create free account
hub / github.com/angular/components / _updateSibling

Method _updateSibling

src/material/slider/slider-input.ts:796–807  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

794 }
795
796 private _updateSibling(): void {
797 const sibling = this.getSibling();
798 if (!sibling) {
799 return;
800 }
801 sibling._updateMinMax();
802 if (this._isActive) {
803 sibling._updateWidthActive();
804 } else {
805 sibling._updateWidthInactive();
806 }
807 }
808
809 /**
810 * Sets the input's value.

Callers 4

_onInputMethod · 0.95
_onPointerMoveMethod · 0.95
writeValueMethod · 0.95
_setValueMethod · 0.95

Calls 4

getSiblingMethod · 0.95
_updateMinMaxMethod · 0.80
_updateWidthActiveMethod · 0.45
_updateWidthInactiveMethod · 0.45

Tested by

no test coverage detected