fix(table): allow for a caption to be projected (#14965)

Fixes consumers not being allowed to project a caption into a CDK table.

Fixes #14948.
This commit is contained in:
Kristiyan Kostadinov
2019-01-30 23:01:40 +01:00
committed by mmalerba
parent bd37f8f2cc
commit cfe46dff32
3 changed files with 39 additions and 3 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export declare type CanStickCtor = Constructor<CanStick>;
export declare const CDK_ROW_TEMPLATE = "<ng-container cdkCellOutlet></ng-container>";
export declare const CDK_TABLE_TEMPLATE = "\n <ng-container headerRowOutlet></ng-container>\n <ng-container rowOutlet></ng-container>\n <ng-container footerRowOutlet></ng-container>";
export declare const CDK_TABLE_TEMPLATE = "\n <ng-content select=\"caption\"></ng-content>\n <ng-container headerRowOutlet></ng-container>\n <ng-container rowOutlet></ng-container>\n <ng-container footerRowOutlet></ng-container>\n";
export declare class CdkCell extends BaseCdkCell {
constructor(columnDef: CdkColumnDef, elementRef: ElementRef);