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

Method ngAfterContentInit

src/cdk/stepper/stepper.ts:414–422  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

412 private _orientation: StepperOrientation = 'horizontal';
413
414 ngAfterContentInit() {
415 this._steps.changes
416 .pipe(startWith(this._steps), takeUntil(this._destroyed))
417 .subscribe((steps: QueryList<CdkStep>) => {
418 this.steps.reset(steps.filter(step => step._stepper === this));
419 this.steps.forEach((step, index) => step.index.set(index));
420 this.steps.notifyOnChanges();
421 });
422 }
423
424 ngAfterViewInit() {
425 // If the step headers are defined outside of the `ngFor` that renders the steps, like in the

Callers

nothing calls this directly

Calls 3

setMethod · 0.80
resetMethod · 0.65
filterMethod · 0.45

Tested by

no test coverage detected