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

Method ngOnDestroy

src/cdk/table/text-column.ts:142–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140 }
141
142 ngOnDestroy() {
143 if (this._table) {
144 this._table.removeColumnDef(this.columnDef);
145 }
146 }
147
148 /**
149 * Creates a default header text. Use the options' header text transformation function if one

Callers

nothing calls this directly

Calls 1

removeColumnDefMethod · 0.80

Tested by

no test coverage detected