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

Method constructor

src/material/datepicker/calendar.ts:72–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 private _nextButtonLabel!: string;
71
72 constructor() {
73 inject(_CdkPrivateStyleLoader).load(_VisuallyHiddenLoader);
74 const changeDetectorRef = inject(ChangeDetectorRef);
75 this._updateLabels();
76 this.calendar.stateChanges.subscribe(() => {
77 this._updateLabels();
78 changeDetectorRef.markForCheck();
79 });
80 }
81
82 /** The display text for the current calendar view. */
83 get periodButtonText(): string {

Callers

nothing calls this directly

Calls 3

_updateLabelsMethod · 0.95
loadMethod · 0.80
markForCheckMethod · 0.80

Tested by

no test coverage detected