MCPcopy
hub / github.com/angular/components / max

Method max

src/material/slider/slider.ts:225–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

223 /** The maximum value that the slider can have. */
224 @Input({transform: numberAttribute})
225 get max(): number {
226 return this._max;
227 }
228 set max(v: number) {
229 const max = v === undefined || v === null || isNaN(v) ? this._max : v;
230 if (this._max !== max) {

Callers 15

constructorMethod · 0.45
_clampValueMethod · 0.45
stepMethod · 0.45
_applySizeFunction · 0.45
_dragStartedFunction · 0.45
_computeNewSizeFunction · 0.45
applyMinColumnSizeMethod · 0.45
_expandRangeMethod · 0.45
smoothScrollViewportToFunction · 0.45

Calls 1

_updateMaxMethod · 0.95

Tested by 1

smoothScrollViewportToFunction · 0.36