Added 2 new features I needed to make a partial persistent header. scrollDirectionThreshold lets you optionally set a threshold and if you scroll that much, it will tell you in which direction. Also added isAtTop to tell you if you are scrolled to the top of the page
Added 2 new features I needed to make a partial persistent header. scrollDirectionThreshold lets you optionally set a threshold and if you scroll that much, it will tell you in which direction. Also added isAtTop to tell you if you are scrolled to the top of the page