Skip to content

Commit bb60dd2

Browse files
committed
approve api
1 parent 692a127 commit bb60dd2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tools/public_api_guard/cdk/table.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ export declare class CdkTable<T> implements AfterContentChecked, CollectionViewe
187187
set dataSource(dataSource: CdkTableDataSourceInput<T>);
188188
get multiTemplateDataRows(): boolean;
189189
set multiTemplateDataRows(v: boolean);
190+
protected needsPositionStickyOnElement: boolean;
190191
protected stickyCssClass: string;
191192
get trackBy(): TrackByFunction<T>;
192193
set trackBy(fn: TrackByFunction<T>);
@@ -299,7 +300,7 @@ export declare type StickyDirection = 'top' | 'bottom' | 'left' | 'right';
299300

300301
export declare class StickyStyler {
301302
direction: Direction;
302-
constructor(_isNativeHtmlTable: boolean, _stickCellCss: string, direction: Direction, _isBrowser?: boolean);
303+
constructor(_isNativeHtmlTable: boolean, _stickCellCss: string, direction: Direction, _isBrowser?: boolean, _needsPositionStickyOnElement?: boolean);
303304
_addStickyStyle(element: HTMLElement, dir: StickyDirection, dirValue: number): void;
304305
_getCalculatedZIndex(element: HTMLElement): string;
305306
_getCellWidths(row: HTMLElement): number[];

tools/public_api_guard/material/table.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export declare class MatRowDef<T> extends CdkRowDef<T> {
7676
}
7777

7878
export declare class MatTable<T> extends CdkTable<T> {
79+
protected needsPositionStickyOnElement: boolean;
7980
protected stickyCssClass: string;
8081
static ɵcmp: i0.ɵɵComponentDefWithMeta<MatTable<any>, "mat-table, table[mat-table]", ["matTable"], {}, {}, never, ["caption", "colgroup, col"]>;
8182
static ɵfac: i0.ɵɵFactoryDef<MatTable<any>, never>;

0 commit comments

Comments
 (0)