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

Method ngAfterContentInit

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

Source from the content-addressed store, hash-verified

3122 @Input() dataSource!: DataSource<T>;
3123
3124 ngAfterContentInit() {
3125 // Register the content's column, row, and header row definitions.
3126 this.columnDefs.forEach(columnDef => this.table.addColumnDef(columnDef));
3127 this.rowDefs.forEach(rowDef => this.table.addRowDef(rowDef));
3128 this.table.addHeaderRowDef(this.headerRowDef);
3129 this.table.setNoDataRow(this.noDataRow);
3130 }
3131}
3132
3133@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