()
| 222 | }) |
| 223 | export class CdkCell extends BaseCdkCell { |
| 224 | constructor() { |
| 225 | const columnDef = inject(CdkColumnDef); |
| 226 | const elementRef = inject(ElementRef); |
| 227 | |
| 228 | super(columnDef, elementRef); |
| 229 | |
| 230 | const role = columnDef._table?._getCellRole(); |
| 231 | if (role) { |
| 232 | elementRef.nativeElement.setAttribute('role', role); |
| 233 | } |
| 234 | } |
| 235 | } |
nothing calls this directly
no test coverage detected