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

Method ngOnInit

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

Source from the content-addressed store, hash-verified

664 }
665
666 ngOnInit() {
667 this._setupStickyStyler();
668
669 this._viewportRuler
670 .change()
671 .pipe(takeUntil(this._onDestroy))
672 .subscribe(() => {
673 this._forceRecalculateCellWidths = true;
674 });
675 }
676
677 ngAfterContentInit() {
678 this._viewRepeater =

Callers

nothing calls this directly

Calls 2

_setupStickyStylerMethod · 0.95
changeMethod · 0.80

Tested by

no test coverage detected