Creates the {@link StickyScrollDirective}
provides a subscription to global events
used to make DOM changes to the host element
Set to true if the host element should be fixed to the top of the screen.
provides a subscription to global events
The height of the positionContainer
The minimum number of pixels that should be scrolled before fixed is set to true.
The actual content that gets fixed on scroll
used to make DOM changes to the host element
An additional amount of px that must be scrolled before sticking takes effect
Get dimensions related to fixing the host element.
position: fixed (if fixed) to get original position from topposition: fixed if appropriateManually updates height
setTimeout to run after the view updatesAn Angular 2 lifecyle hook called once, after Angular initializes the host component's views and child views.
setTimeout to manually trigger a new digest cycleUpdates dimensions when the input value of stickyOffset changes.
An Angular 2 lifecyle hook called once, just before Angular destroys the directive/component.
An Angular 2 lifecyle hook called once, after the first ngOnChanges.
Checks if the host element should be fixed
Subscriptions to observables that need to be unsubscribed when the ngOnDestroy lifecycle hook is called.
Generated using TypeDoc
Sets the positionContainer fixed to top when it reaches the top while the host element acts as a placeholder in the DOM
FilterComponent