[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg)](https://opensource.org/licenses/mit-license.php) [![npm](https://img.shields.io/npm/v/easy-affix.svg)](https://www.npmjs.com/package/easy-affix) [![size](https://img.shields.io/bundlephobia/minz
An affixing header that behaves normally as a user navigates down a page, but reveals itself naturally when a user scrolls or drags upwards. Inspired by iOS Safari, Medium, and others.
A simple lightweight library for Angular that detects scroll direction and adds a 'sn-scrolling-up' or 'sn-scrolling-down' class to the element. The library can also detect when the user has scrolled passed the element and apply a 'sn-affix' class. Useful