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

Function _forwardContentValues

src/material/datepicker/datepicker-base.ts:723–728  ·  view source on GitHub ↗

Forwards relevant values from the datepicker to the datepicker content inside the overlay.

(instance: MatDatepickerContent<S, D>)

Source from the content-addressed store, hash-verified

721
722 /** Forwards relevant values from the datepicker to the datepicker content inside the overlay. */
723 protected _forwardContentValues(instance: MatDatepickerContent<S, D>) {
724 instance.datepicker = this;
725 instance.color = this.color;
726 instance._dialogLabelId = this.datepickerInput.getOverlayLabelId();
727 instance._assignActions(this._actionsPortal, false);
728 }
729
730 /** Opens the overlay with the calendar. */
731 private _openOverlay(): void {

Callers

nothing calls this directly

Calls 2

_assignActionsMethod · 0.80
getOverlayLabelIdMethod · 0.65

Tested by

no test coverage detected