mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
mmalerba
parent
bd37f8f2cc
commit
cfe46dff32
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user