Skip to content

Commit 1c0c337

Browse files
committed
docs and goldens
1 parent 5957299 commit 1c0c337

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/cdk/table/sticky-styler.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export class StickyStyler {
5656
* the component stylesheet for _stickCellCss.
5757
* @param _positionListener A listener that is notified of changes to sticky rows/columns
5858
* and their dimensions.
59+
* @param _tableInjector The table's Injector.
5960
*/
6061
constructor(
6162
private _isNativeHtmlTable: boolean,
@@ -326,6 +327,7 @@ export class StickyStyler {
326327
);
327328
}
328329

330+
/** Triggered by the table's OnDestroy hook. */
329331
destroy() {
330332
if (this._stickyColumnsReplayTimeout) {
331333
clearTimeout(this._stickyColumnsReplayTimeout);

tools/public_api_guard/cdk/table.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import { EventEmitter } from '@angular/core';
1717
import * as i0 from '@angular/core';
1818
import * as i1 from '@angular/cdk/scrolling';
1919
import { InjectionToken } from '@angular/core';
20+
import { Injector } from '@angular/core';
2021
import { IterableChanges } from '@angular/core';
2122
import { IterableDiffer } from '@angular/core';
2223
import { IterableDiffers } from '@angular/core';
@@ -554,9 +555,10 @@ export type StickySize = number | null | undefined;
554555

555556
// @public
556557
export class StickyStyler {
557-
constructor(_isNativeHtmlTable: boolean, _stickCellCss: string, direction: Direction, _coalescedStyleScheduler: _CoalescedStyleScheduler, _isBrowser?: boolean, _needsPositionStickyOnElement?: boolean, _positionListener?: StickyPositioningListener | undefined);
558+
constructor(_isNativeHtmlTable: boolean, _stickCellCss: string, direction: Direction, _isBrowser?: boolean, _needsPositionStickyOnElement?: boolean, _positionListener?: StickyPositioningListener | undefined, _tableInjector?: Injector | undefined);
558559
_addStickyStyle(element: HTMLElement, dir: StickyDirection, dirValue: number, isBorderElement: boolean): void;
559560
clearStickyPositioning(rows: HTMLElement[], stickyDirections: StickyDirection[]): void;
561+
destroy(): void;
560562
// (undocumented)
561563
direction: Direction;
562564
_getCalculatedZIndex(element: HTMLElement): string;

0 commit comments

Comments
 (0)