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

Method ngAfterContentInit

src/cdk/table/table.spec.ts:3058–3064  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3056 @Input() dataSource!: DataSource<T>;
3057
3058 ngAfterContentInit() {
3059 // Register the content's column, row, and header row definitions.
3060 this.columnDefs.forEach(columnDef => this.table.addColumnDef(columnDef));
3061 this.rowDefs.forEach(rowDef => this.table.addRowDef(rowDef));
3062 this.table.addHeaderRowDef(this.headerRowDef);
3063 this.table.setNoDataRow(this.noDataRow);
3064 }
3065}
3066
3067@Component({

Callers

nothing calls this directly

Calls 4

addColumnDefMethod · 0.80
addRowDefMethod · 0.80
addHeaderRowDefMethod · 0.80
setNoDataRowMethod · 0.80

Tested by

no test coverage detected