()
| 201 | }) |
| 202 | export class CdkFooterCell extends BaseCdkCell { |
| 203 | constructor() { |
| 204 | const columnDef = inject(CdkColumnDef); |
| 205 | const elementRef = inject(ElementRef); |
| 206 | |
| 207 | super(columnDef, elementRef); |
| 208 | |
| 209 | const role = columnDef._table?._getCellRole(); |
| 210 | if (role) { |
| 211 | elementRef.nativeElement.setAttribute('role', role); |
| 212 | } |
| 213 | } |
| 214 | } |
| 215 | |
| 216 | /** Cell template container that adds the right classes and role. */ |
nothing calls this directly
no test coverage detected