Creating A "position: sticky" Header Component Using IntersectionObserver In Angular 7.2.11

added by JavaScript Kicks
4/6/2019 2:00:26 PM

648 Views

Ben Nadel takes his first look at the CSS property, "position: sticky". And, creates a custom component in Angular 7.2.11 that allows a CSS class to be conditionally added and removed from the host element when it enters and leaves the "sticky" state, respectively.


0 comments