File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -257,11 +257,11 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
257257
258258
259259 /**
260- * 'sticker ()' function contains the main logic of sticky-header. It decides when
260+ * 'applyStickyPositionStyles ()' function contains the main logic of sticky-header. It decides when
261261 * a header should be stick and when should it be unstuck by comparing the offsetTop
262262 * of scrollable container with the top and bottom of the sticky region.
263263 */
264- sticker ( ) : void {
264+ applyStickyPositionStyles ( ) : void {
265265 let currentPosition : number = this . upperScrollableContainer . offsetTop ;
266266
267267 // unstuck when the element is scrolled out of the sticky region
@@ -283,6 +283,6 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
283283
284284 defineRestrictionsAndStick ( ) : void {
285285 this . _measureStickyRegionBounds ( ) ;
286- this . sticker ( ) ;
286+ this . applyStickyPositionStyles ( ) ;
287287 }
288288}
You can’t perform that action at this time.
0 commit comments