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 @@ -258,11 +258,11 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
258258
259259
260260 /**
261- * 'sticker ()' function contains the main logic of sticky-header. It decides when
261+ * 'applyStickyPositionStyles ()' function contains the main logic of sticky-header. It decides when
262262 * a header should be stick and when should it be unstuck by comparing the offsetTop
263263 * of scrollable container with the top and bottom of the sticky region.
264264 */
265- sticker ( ) : void {
265+ applyStickyPositionStyles ( ) : void {
266266 let currentPosition : number = this . upperScrollableContainer . offsetTop ;
267267
268268 // unstuck when the element is scrolled out of the sticky region
@@ -284,6 +284,6 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
284284
285285 defineRestrictionsAndStick ( ) : void {
286286 this . _measureStickyRegionBounds ( ) ;
287- this . sticker ( ) ;
287+ this . applyStickyPositionStyles ( ) ;
288288 }
289289}
You can’t perform that action at this time.
0 commit comments