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

Method constructor

src/cdk/table/cell.ts:176–178  ·  view source on GitHub ↗
(columnDef: CdkColumnDef, elementRef: ElementRef)

Source from the content-addressed store, hash-verified

174/** Base class for the cells. Adds a CSS classname that identifies the column it renders in. */
175export class BaseCdkCell {
176 constructor(columnDef: CdkColumnDef, elementRef: ElementRef) {
177 elementRef.nativeElement.classList.add(...columnDef._columnCssClassName);
178 }
179}
180
181/** Header cell template container that adds the right classes and role. */

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected