File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ export class CdkStickyRegion {
32
32
}
33
33
34
34
35
- // STICK_START_CLASS is used to mark a header is stuck.
35
+ /** Class applied when the header is " stuck" */
36
36
const STICK_START_CLASS = 'cdk-sticky-header-start' ;
37
- // STICK_END_CLASS is used to mark a header is unstuck.
37
+ /** Class applied when the header is not "stuck" */
38
38
const STICK_END_CLASS = 'cdk-sticky-header-end' ;
39
39
/**
40
40
* Set a debounce time which is used in debounce() function when adding event listeners.
@@ -62,13 +62,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
62
62
@Input ( 'cdkStickyHeaderZIndex' ) zIndex : number = 10 ;
63
63
64
64
isStuck : boolean = false ;
65
- /**
66
- * isStickyPositionSupported == true, means current browser support 'position: sticky'
67
- * or 'position: -webkit-sticky'.
68
- * isStickyPositionSupported == false, means current browser does not support sticky
69
- * positioning and need to use the original implementation to get the sticky effect.
70
- * @type {boolean }
71
- */
65
+ /** Whether the browser support CSS sticky positioning. */
72
66
isStickyPositionSupported : boolean = true ;
73
67
74
68
You can’t perform that action at this time.
0 commit comments