Skip to content

Commit ea47c55

Browse files
committed
Rename 'defineRestrictions' to '_measureStickyRegionBounds'
1 parent 5ff2394 commit ea47c55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/sticky-header/sticky-header.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
172172
}
173173

174174
/** Measures the boundaries of the sticky regions to be used in subsequent positioning. */
175-
private _defineRestrictions(): void {
175+
private _measureStickyRegionBounds(): void {
176176
if (!this.stickyParent) {
177177
return;
178178
}
@@ -283,7 +283,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
283283
}
284284

285285
defineRestrictionsAndStick(): void {
286-
this._defineRestrictions();
286+
this._measureStickyRegionBounds();
287287
this.sticker();
288288
}
289289
}

0 commit comments

Comments
 (0)