Skip to content

Commit

Permalink
docs and goldens
Browse files Browse the repository at this point in the history
  • Loading branch information
kseamon committed Dec 27, 2024
1 parent 5957299 commit 1c0c337
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/cdk/table/sticky-styler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export class StickyStyler {
* the component stylesheet for _stickCellCss.
* @param _positionListener A listener that is notified of changes to sticky rows/columns
* and their dimensions.
* @param _tableInjector The table's Injector.
*/
constructor(
private _isNativeHtmlTable: boolean,
Expand Down Expand Up @@ -326,6 +327,7 @@ export class StickyStyler {
);
}

/** Triggered by the table's OnDestroy hook. */
destroy() {
if (this._stickyColumnsReplayTimeout) {
clearTimeout(this._stickyColumnsReplayTimeout);
Expand Down
4 changes: 3 additions & 1 deletion tools/public_api_guard/cdk/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { EventEmitter } from '@angular/core';
import * as i0 from '@angular/core';
import * as i1 from '@angular/cdk/scrolling';
import { InjectionToken } from '@angular/core';
import { Injector } from '@angular/core';
import { IterableChanges } from '@angular/core';
import { IterableDiffer } from '@angular/core';
import { IterableDiffers } from '@angular/core';
Expand Down Expand Up @@ -554,9 +555,10 @@ export type StickySize = number | null | undefined;

// @public
export class StickyStyler {
constructor(_isNativeHtmlTable: boolean, _stickCellCss: string, direction: Direction, _coalescedStyleScheduler: _CoalescedStyleScheduler, _isBrowser?: boolean, _needsPositionStickyOnElement?: boolean, _positionListener?: StickyPositioningListener | undefined);
constructor(_isNativeHtmlTable: boolean, _stickCellCss: string, direction: Direction, _isBrowser?: boolean, _needsPositionStickyOnElement?: boolean, _positionListener?: StickyPositioningListener | undefined, _tableInjector?: Injector | undefined);
_addStickyStyle(element: HTMLElement, dir: StickyDirection, dirValue: number, isBorderElement: boolean): void;
clearStickyPositioning(rows: HTMLElement[], stickyDirections: StickyDirection[]): void;
destroy(): void;
// (undocumented)
direction: Direction;
_getCalculatedZIndex(element: HTMLElement): string;
Expand Down

0 comments on commit 1c0c337

Please sign in to comment.