MCPcopy Index your code
hub / github.com/angular/components / ngAfterContentInit

Method ngAfterContentInit

src/cdk/table/table.ts:671–682  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

669 }
670
671 ngAfterContentInit() {
672 this._viewRepeater =
673 this.recycleRows || this._virtualScrollEnabled()
674 ? new _RecycleViewRepeaterStrategy()
675 : new _DisposeViewRepeaterStrategy();
676
677 if (this._virtualScrollEnabled()) {
678 this._setupVirtualScrolling(this._virtualScrollViewport!);
679 }
680
681 this._hasInitialized = true;
682 }
683
684 ngAfterContentChecked() {
685 // Only start re-rendering in `ngAfterContentChecked` after the first render.

Callers

nothing calls this directly

Calls 2

_virtualScrollEnabledMethod · 0.95

Tested by

no test coverage detected