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

Method constructor

src/material/stepper/step-header.ts:85–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 @Input() color!: ThemePalette;
84
85 constructor() {
86 super();
87
88 const styleLoader = inject(_CdkPrivateStyleLoader);
89 styleLoader.load(_StructuralStylesLoader);
90 styleLoader.load(_VisuallyHiddenLoader);
91 const changeDetectorRef = inject(ChangeDetectorRef);
92 this._intlSubscription = this._intl.changes.subscribe(() => changeDetectorRef.markForCheck());
93 }
94
95 ngAfterViewInit() {
96 this._focusMonitor.monitor(this._elementRef, true);

Callers

nothing calls this directly

Calls 2

loadMethod · 0.80
markForCheckMethod · 0.80

Tested by

no test coverage detected