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

Method ngAfterContentInit

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

Source from the content-addressed store, hash-verified

3151 @Input() dataSource!: DataSource<T>;
3152
3153 ngAfterContentInit() {
3154 // Register the content's column, row, and header row definitions.
3155 this.columnDefs.forEach(columnDef => this.table.addColumnDef(columnDef));
3156 this.rowDefs.forEach(rowDef => this.table.addRowDef(rowDef));
3157 this.table.addHeaderRowDef(this.headerRowDef);
3158 this.table.setNoDataRow(this.noDataRow);
3159 }
3160}
3161
3162@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