Gets this row def's relevant cell template from the provided column def.
(column: CdkColumnDef)
| 68 | |
| 69 | /** Gets this row def's relevant cell template from the provided column def. */ |
| 70 | extractCellTemplate(column: CdkColumnDef): TemplateRef<any> { |
| 71 | if (this instanceof CdkHeaderRowDef) { |
| 72 | return column.headerCell.template; |
| 73 | } |
| 74 | if (this instanceof CdkFooterRowDef) { |
| 75 | return column.footerCell.template; |
| 76 | } else { |
| 77 | return column.cell.template; |
| 78 | } |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected