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

Method constructor

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

Source from the content-addressed store, hash-verified

659 _isEndThumb = false;
660
661 constructor() {
662 super();
663
664 this._isEndThumb = this._hostElement.hasAttribute('matSliderEndThumb');
665 this._setIsLeftThumb();
666 this.thumbPosition = this._isEndThumb ? _MatThumb.END : _MatThumb.START;
667 }
668
669 override _getDefaultValue(): number {
670 return this._isEndThumb && this._slider._isRange ? this.max : this.min;

Callers

nothing calls this directly

Calls 1

_setIsLeftThumbMethod · 0.95

Tested by

no test coverage detected