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

Function startAt

src/material/datepicker/datepicker-base.ts:389–393  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

387 /** The date to open the calendar to initially. */
388 @Input()
389 get startAt(): D | null {
390 // If an explicit startAt is set we start there, otherwise we start at whatever the currently
391 // selected value is.
392 return this._startAt || (this.datepickerInput ? this.datepickerInput.getStartValue() : null);
393 }
394 set startAt(value: D | null) {
395 this._startAt = this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(value));
396 }

Callers

nothing calls this directly

Calls 2

getStartValueMethod · 0.65
deserializeMethod · 0.45

Tested by

no test coverage detected